Extended Listbox Class

I have created a base listbox class that has a number of extensions to a standard listbox.

The extensions are:
ColumnHeaders

This is a replacement for InitialValue.
Set a tab delmited list of the headers required.

ColumnAlignment

Set as a tab separated list in the form: “l r c d3 f”
Each element in the list is the column, counting from the left.
F = Default
L = Left
R = Right
C = Center
Dx = Decimal where ‘x’ is the number of decimal places.

The default is ‘F’, Default.

ColumnDataType

Set a tab separated list in the form: “s n(Number Pattern) d(Date Pattern)”
Each element in the list is the column, counting from the left.
S = String
N(Number Pattern) = Number - Number pattern is like (#,###,##0.00);#,###,##0.00;\
D(Date Pattern) = Date - Date Pattern is like dd/mm/yyyy

HighlightColor

Set to the highlight colour to use when a row is selected.

Under the Text Area (click on Star above property list):
ColumnTextColors

Set a tab separated list in the form: “(255,0,0) (…)”
Each element in the list is the column, counting from the left.
(r,g,b) = Red, Green, Blue

The default is (0,0,0) Black. You can leave a blank and the default will be used.

ColumnBackgroundColors

Set a tab separated list in the form: “(255,0,0) (…)”
Each element in the list is the column, counting from the left.
(r,g,b) = Red, Green, Blue

The default is (255,255,255) White. You can leave a blank and the default will be used.

New Cell Methods

CellAsDate - Read/Write
CellAsDouble - Read/Write
CellAsInteger - Read/Write
CellAsString - Read/Write

This is free for all Xojo users.

You can download from here:
https://dl.dropboxusercontent.com/u/10747116/RealStudioClasses/baseListbox.rbo.zip