コンボボックス - DropDownWidthプロパティ 

DropDownWidthはドロップダウンの幅をwidthプロパティのパーセント値で示します

コンボボックス (PRIM_CMBX) のメンバ

データタイプ - 整数

詳細

DropDownWidth プロパティは、ドロップダウンコントロール自体に対する割合として、ドロップダウンリストの幅を指定します。 

これにより、コントロールよりもドロップダウンリストの幅が広くなり、追加情報が表示されます。

この例では、ドロップダウンはコントロールの幅の 150% です。 

     Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_FORM) Height(271) Left(2228) Top(220) Width(264) Clientwidth(248) Clientheight(232)

Define_Com Class(#PRIM_CMBX) Name(#Combobox) Displayposition(1) Left(16) Parent(#COM_OWNER) Tabposition(1) Top(32) Value('ABCDE') Width(217) Height(27) Fixedheight(False) Dropdownwidth(150)
Define_Com Class(#PRIM_CBCL) Name(#CBCL1) Displayposition(1) Parent(#Combobox) Source(#EMPNO) Usepicklist(False) Widthtype(Fixed)
Define_Com Class(#PRIM_CBCL) Name(#CBCL2) Displayposition(2) Parent(#Combobox) Source(#SURNAME) Usepicklist(False) Width(40)
Define_Com Class(#PRIM_CBCL) Name(#CBCL3) Displayposition(3) Parent(#Combobox) Source(#GIVENAME) Usepicklist(False) Width(40)

Evtroutine Handling(#Com_owner.Createinstance)
Select Fields(#Combobox) From_File(Pslmst)
Add_Entry To_List(#Combobox)
Endselect
Endroutine

End_Com


参照

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

  • No labels