User Tools

Site Tools


prop_alwaysdrop.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:AlwaysDrop ====== Previous pageReturn to chapter overviewNext page

When set to zero, the drop portion of a COMBO or LIST control with the DROP attribute only drops down when the user clicks on the dropdown icon, and when the user presses the down arrow key the displayed entries rotate without dropping down the list. When set to anything other than zero, the drop portion drops down either on the down arrow key or click on the dropdown icon.

Example:

MDIChild WINDOW('Child One'),AT(0,0,320,200),MDI,MAX,HVSCROLL

     COMBO(@S20),AT(0,0,20,220),USE(MyCombo),FROM(Que),DROP(5)

            END

CODE

OPEN(MDIChild)

?MyCombo{PROP:AlwaysDrop} = 0  !Set windows-like drop behavior

prop_alwaysdrop.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1