DlgListBox.GetSelected

table DlgListBox.GetSelected ( 

number ControlID )

Example 1

tSelected = DlgListBox.GetSelected(CTRL_LIST_BOX);

Gets the indexes of all selected items in the list box control with control id "CTRL_LIST_BOX" and stores them in the table "tSelected."

Example 2

Selected_Items_Index = DlgListBox.GetSelected(nControlID);

Gets the indexes of all selected items in the list box control whose control id is stored in the variable "nControlID" and stores them in the table "Selected_Items_Index."

See also:  Related Actions