Monday, August 20, 2007
twollistbox
TWOLListBox object
Unit: WOLGUI09.
Descendant of TWOLVisualControl. representation, in WOL object of a basic list box of text.
Public Methods and Events:
constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndKeyboard (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;
function WndText (to var Message: TWOLMessage): Boolean; override;
procedure Clear;
method used to clear the content of the box. It erases all the text contained in the box.
Published properties and Events:
Selected [Index: Integer]: Boolean (For Reading and Writing)
Property that returns True if the element from index index will be selected or to become the selected text.
Columns: Integer (For Reading and Writing)
Property that indicates the number of columns of the list box.
ExtendedSelect: Boolean (For Reading and Writing)
IntegralHeight: Boolean (For Reading and Writing)
ItemHeight: Integer (For Reading and Writing)
ItemIndex: Integer (For Reading and Writing)
Property that indicates the index of the selected item.
Items: TStrings (For Reading and Writing)
Object containing the list of texts of the list box.
MultiSelect: Boolean (For Reading and Writing)
Property that indicates the possibility of selecting more than one item; To do this use keyboard key CTRL together with mouse to select some lines of text.
Sorted: Boolean (For Reading and Writing)
Property that indicates the order where the texts appears in the list box.
DrawStyle: TWOLDrawSet (For Reading and Writing)
TabWidth: Integer (For Reading and Writing)
TopIndex: Integer (For Reading and Writing)
OnClick
OnMouseMove
OnDblClick
Ctrl3D
TextAlign
WindowAlign
Border
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder
Unit: WOLGUI09.
Descendant of TWOLVisualControl. representation, in WOL object of a basic list box of text.
Public Methods and Events:
constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndKeyboard (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;
function WndText (to var Message: TWOLMessage): Boolean; override;
procedure Clear;
method used to clear the content of the box. It erases all the text contained in the box.
Published properties and Events:
Selected [Index: Integer]: Boolean (For Reading and Writing)
Property that returns True if the element from index index will be selected or to become the selected text.
Columns: Integer (For Reading and Writing)
Property that indicates the number of columns of the list box.
ExtendedSelect: Boolean (For Reading and Writing)
IntegralHeight: Boolean (For Reading and Writing)
ItemHeight: Integer (For Reading and Writing)
ItemIndex: Integer (For Reading and Writing)
Property that indicates the index of the selected item.
Items: TStrings (For Reading and Writing)
Object containing the list of texts of the list box.
MultiSelect: Boolean (For Reading and Writing)
Property that indicates the possibility of selecting more than one item; To do this use keyboard key CTRL together with mouse to select some lines of text.
Sorted: Boolean (For Reading and Writing)
Property that indicates the order where the texts appears in the list box.
DrawStyle: TWOLDrawSet (For Reading and Writing)
TabWidth: Integer (For Reading and Writing)
TopIndex: Integer (For Reading and Writing)
OnClick
OnMouseMove
OnDblClick
Ctrl3D
TextAlign
WindowAlign
Border
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Tabstop
TabOrder