Introduction
Features
Command Reference
Tutorials
Examples

Colour Schemes
Extras

Online
 Command
ListBox( [X][,Y][,W][,H][,ItemHeight][,Inc][,SDelay][,Snap] )

 Parameters
X - Starting X location of the control
Y - Starting Y location of the control
W - Starting width of the control
H - Starting height of the control
ItemHeight - The height of each item in the listbox
Inc - The rate at which the scrollbar scrolls
SDelay - The delay between each scroll
Snap - Snaps the height of the listbox to fit an exact number of items

 Description
List boxes contain a long list of items (as the name suggests). List boxes can be used for many purposes for all sorts of situations. A common place for a list box to be used is an Open File dialog (The list box contains all the folders / files etc).

 Example
Graphics 640, 480, 16, 2
SetBuffer BackBuffer( )

Include "blitzui.bb"
Initialise( )

mywindow = Window( 20, 20, 200, 150, "My Window", 0, True )
mylistbox = ListBox( 5, 5, 150, 60 )
AddListBoxItem( mylistbox, 0, "Item One" )
AddListBoxItem( mylistbox, 0, "Item Two" )
AddListBoxItem( mylistbox, 0, "Item Three" )
AddListBoxItem( mylistbox, 0, "Item Four" )
AddListBoxItem( mylistbox, 0, "Item Five" )
AddListBoxItem( mylistbox, 0, "Item Six" )

Repeat
    UpdateGUI( )
    DrawMouse( )

    Flip
    Cls
Until KeyHit( 1 )
Destroy( )
End