Platoo FReport ComponentsTFRCustomListbox

Contents - Events - Properties

Base class for all edit components.


Description
TFCustomListbox is base class for all components, that will generate Listbox in t he HTML document.

Do not create instance of TFCustomListbox.


TFRCustomListbox - Events

Contents - TFRCustomListbox - Properties

OnGetDisabled
Delphi declaration
property OnGetDisabled;
C++ declaration
__property OnGetDisabled
OnGetName
Delphi declaration
property OnGetName;
C++ declaration
__property OnGetName
OnGetValue
Delphi declaration
property OnGetValue;
C++ declaration
__property OnGetValue

TFRCustomListbox - Properties

Contents - TFRCustomListbox - Events

AutoName
Delphi declaration
property AutoName;
C++ declaration
__property AutoName
DataSource
Delphi declaration
property DataSource;
C++ declaration
__property DataSource
FieldName
Delphi declaration
property FieldName;
C++ declaration
__property FieldName
Items

Delphi declaration
property Items: TStrings read GetItems write SetItems;
C++ declaration
__property Classes::TStrings *Items={ read=GetItems, write=SetItems, nodefault }

Description
Strings that will appear in t he listbox.

KeyFieldName

Delphi declaration
property KeyFieldName: TEStringWrap read FLUKeyNameWrap write FLUKeyNameWrap;
C++ declaration
__property Estringwrap::TEStringWrap *KeyFieldName={ read=FLUKeyNameWrap, write=FLUKeyNameWrap, nodefault }

Description
Data field used to get Values form t he database.

If y ou do not set KeyFieldName, ListFIeldName will be used for both Items and Values.

ListFieldName

Delphi declaration
property ListFieldName: TEStringWrap read FLUListNameWrap write FLUListNameWrap;
C++ declaration
__property Estringwrap::TEStringWrap *ListFieldName={ read=FLUListNameWrap, write=FLUListNameWrap, nodefault }

Description
Data field used to get Items fr o m the database.

LookupSource

Delphi declaration
property LookupSource: TDataSource read FLookupSource write SetLookupSource;
C++ declaration
__property Db::TDataSource *LookupSource={ read=FLookupSource, write=SetLookupSource, nodefault }

Description
DataSource used to get Items and Values from t he database.

MultiSelect

Delphi declaration
property MultiSelect: Boolean read FMultiSelect write FMultiSelect default false;
C++ declaration
__property bool MultiSelect={ read=FMultiSelect, write=FMultiSelect, default=0 }

Description
If MultiSelect is true, t he client can select several items in t he list.

RowCount

Delphi declaration
property RowCount: Integer read FRowCount write SetRowCount default 5;
C++ declaration
__property int RowCount={ read=FRowCount, write=SetRowCount, default=5 }

Description
Height of t he Listbox in t he HTML document.

If RowCount is 1, t he list will appear as a dropdown list.

Values

Delphi declaration
property Values: TStrings read GetValues write SetValues;
C++ declaration
__property Classes::TStrings *Values={ read=GetValues, write=SetValues, nodefault }

Description
Values that will be assigned to a corresponding variable.

If you do not set t he Values property, Items will be used for valu e s.