hiDisplayListBox
hiDisplayListBox(
s_listBoxHandle
t_listBoxTitle
l_listItems
t_help
)
=> t / nil
Description
Creates and displays a list box. The list box displays a list of strings. The user can select one of these strings by clicking over the item with the left mouse button. The list box remains on the screen until the user selects OK or Cancel. The list box is destroyed when it is removed from the screen
Arguments
|
s_listBoxHandle
|
A unique global SKILL handle to the created list box. The selected item can be retrieved from the listBoxHandle. For example, if listBoxHandle was myListBox, the selected item would be:
myListBox -> value
This value is a list of two items: the integer representing the position of the selected item in the item list and the selected item string.
|
|
t_listBoxTitle
|
Title of the list box displayed in the WindowManager banner.
|
|
l_listItems
|
List of strings that is displayed in the scrolling window.
|
|
t_help
|
String containing information about this list box.
|
Values Returned
|
t
|
The OK button was selected.
|
|
nil
|
The Cancel button was selected.
|
Related Topics
List Box Functions
hiShowListBox
Return to top