### ListBox Object

The ListBox object inserts an open list inside the form.

Along with the ability to resize the object, change colors, and change other attributes, you can further customize this object by using these properties:

Property | Description
BorderDrawn | Setting this to YES draws a border around the control.
UseColors | This determines whether or not the control should use the colors specified in the BackColor and TextColor properties.
Sort | Selecting YES sorts the list items alphabetically.
HorizontalScroll | Selecting Always places a horizontal scroll bar on the list box even if the text for a list item isn't long enough to cause it to scroll. Selecting None removes the scroll bar.
VerticalScroll | Selecting Always places a vertical scroll bar on the list box even if there aren't enough list items to cause it to scroll. Selecting None removes the scroll bar.
UseTabstops | This determines whether or not the list box should use tab stops. If set to YES, pressing TAB in Run mode will eventually make this list box the active control.
WantKeyInput | This determines whether or not the list box should accept keyboard input.
RemoveSelection | Selecting YES removes the selection from the list box (ListID) when recorded.
ListID | This is the ID of the list. You can set or get this by using the control. It should be in this format: item 1\r\nitem 2\r\nitem 3 and so on.