DlgListBox.SetItemProperties

DlgListBox.SetItemProperties ( 

number ControlID,

number Index,

table  Properties )

Example 1

DlgListBox.SetItemProperties(CTRL_LIST_BOX, 4, {Checked=true, Selected=true});

Sets the 4th item in the list box control with control id "CTRL_LIST_BOX" to checked and selected.

Example 2

DlgListBox.SetItemProperties(nControlID, nLocation, tbProps);

Sets the properties of the item with location stored in the variable "nLocation" to the properties stored in the table "tbProps". This applies to the list box control whose control ID is stored in the variable "nControlID."

See also:  Related Actions