プッシュ ボタン - ImagePosition プロパティ

ImagePosition はキャプションと関連のあるイメージの配置を設定します。

プッシュ ボタン (PRIM_PHBN) のメンバ

データ タイプ - 列挙

詳細

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

参照

すべてのコンポーネント クラス

テクニカルリファレンス

2018 - V14SP1