ツールバーボタンコンポーネント - ImagePositionプロパティ

キャプションと関連のあるイメージの配置を設定

ツールバーボタンコンポーネント (PRIM_SPBN) のメンバ
データタイプ - 列挙

詳細

ImagePosition プロパティは、キャプションを基準にしたイメージの位置を指定します。 
画像とキャプションは、 Alignment プロパティを使用してさらに調整できます。

許容値

列挙値

説明

AboveCaption

キャプションの上に

AfterCaption

キャプションの右側に

BeforeCaption

キャプションの左側に

BelowCaption

キャプションの下に

ボタンの 4 つの画像位置 

     Begin_Com Role(*EXTENDS #PRIM_WEB) Height(440) Width(688) 

Define_Com Class(#PRIM_PHBN) Name(#Button1) Caption('Above Caption') Displayposition(1) Left(16) Parent(#COM_OWNER) Tabposition(1) Top(104) Width(161) Image(#xImageDetails16) Imageposition(AboveCaption) Height(65)
Define_Com Class(#PRIM_PHBN) Name(#Button2) Caption('Before Caption') Displayposition(4) Left(16) Parent(#COM_OWNER) Tabposition(4) Top(16) Width(161) Image(#xImageDetails16) Height(65)
Define_Com Class(#PRIM_PHBN) Name(#Button3) Caption('After Caption') Displayposition(3) Left(192) Parent(#COM_OWNER) Tabposition(3) Top(104) Width(161) Image(#xImageDetails16) Imageposition(AfterCaption) Height(65)
Define_Com Class(#PRIM_PHBN) Name(#Button4) Caption('Below Caption') Displayposition(2) Left(192) Parent(#COM_OWNER) Tabposition(2) Top(16) Width(161) Image(#xImageDetails16) Imageposition(BelowCaption) Height(65)

End_Com

参照

すべてのコンポーネント クラス
テクニカル リファレンス