DlgListBox.GetSelectedCount

number DlgListBox.GetSelectedCount ( 

number ControlID )

Example 1

number_selected = DlgListBox.GetSelectedCount(CTRL_LIST_BOX);

Gets the number of selected items from the list box control with control id "CTRL_LIST_BOX" and stores it in the variable "number_selected."

Example 2

selected_items = DlgListBox.GetSelectedCount(nControlID);

Gets the number of selected items from the list box whose control id is stored in the variable "nControlID" and stores it in the variable "selected_items."

See also:  Related Actions