Combo Box - DropDownWidth Property

The width of the drop down as a percentage of the width property.

Member of Combo Box (PRIM_CMBX)

Data Type - Integer

Details

The DropDownWidth property specifies the width of the drop down list as a percentage to the drop down control itself.
 
This allows the drop down list to be wider than the control to show additional information

Example

In this example, the drop down is 150% of the width of the control.
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

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2