Programmer Guide/Shell Items/Dialog/Dialog Controls/Combobox

From STX Wiki
Jump to navigationJump to search

Dialog control combobox.png

SET dialog index COMBOBOX row col text var1 w h var2 [fg bg font] [ /E [ /I|N ]] [ /T ] [ /A|L|R ]
var1 The name of the variable to contain the input field text (/Editenabled) or the name of the variable to contain the index of selected item in the list.
var2 The name of the table item (if /Table is specified) containing the combobox list (with one item per entry) or a variable containing a blank or tab separated list of words.
/Editenable Allow input field editing. If this option is used, the combobox entry can be edited and the string is stored in var1.
/Integer or /Number Only available if /Edit is specified. See /Edit/ for details.
/Table If specified, var2 must be the id of a simple table item containing the list to be displayed (one entry per row).

See Common arguments for a description of the parameters not described here.

Navigation menu

Personal tools