Width of the dropdown area as a percentage of the dropdown
Member of DropDown (PRIM_LIST.DropDown)
Data Type - Integer
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.
In this example, the drop down is 250% of the width of the control.
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(440) Width(688) Define_Com Class(#PRIM_LIST.DropDown) Name(#DropDown) Columnheaderheight(0) Columnlines(False) Displayposition(1) Ellipses(Word) Left(40) Parent(#COM_OWNER) Rowlines(False) Showselection(False) Showselectionhilight(False) Tabposition(1) Top(32) Height(25) Width(97) Dropdownwidth(250) Define_Com Class(#PRIM_LIST.String) Name(#ColumnXDEMOALPH1) Columnunits(Proportion) Columnwidth(1) Displayposition(1) Parent(#DropDown) Showselection(False) Source(#xDemoAlpha128) Define_Com Class(#PRIM_LIST.Number) Name(#ColumnXDEMONUMB1) Columnunits(Proportion) Columnwidth(1) Displayposition(2) Increment(1) Parent(#DropDown) Showselection(False) Source(#xDemoNumber) Wrap(False) Evtroutine Handling(#Com_Owner.CreateInstance) #Com_owner.AddEntry( 1 "One" ) #Com_owner.AddEntry( 2 "Two" ) #Com_owner.AddEntry( 3 "Three" ) #Com_owner.AddEntry( 4 "Four" ) #Com_owner.AddEntry( 5 "Five" ) Endroutine Mthroutine Name(AddEntry) Define_Map For(*input) Class(#xDemoNumber) Name(#Value) Define_Map For(*input) Class(#xDemoAlpha128) Name(#Caption) #xDemoNumber := #Value #xDemoAlpha128 := #Caption Add_Entry To_List(#DropDown) Endroutine End_Com
Febuary 18 V14SP2