Class TrDBCheckListBoxEx

Unit

Declaration

type TrDBCheckListBoxEx = class(TrDBCheckListBox)

Description

enhanced TrDBCheckListBox component for n:m relationship which provides links to ListDataSource and ValueDataSource for automatic work with checklistbox

Hierarchy

Overview

Methods

Public procedure DoLoadItemList; override;
Public procedure DoLoadItemValues; override;
Public procedure DoSaveItemValues; override;

Properties

Published property ListSource: TDataSource read GetListSource write SetListSource;
Published property ListKeyField: string read FListKeyFieldName write FListKeyFieldName;
Published property ListDisplayField: string read FListDisplayFieldName write FListDisplayFieldName;
Published property ValuesSource: TDataSource read GetValuesSource write SetValuesSource;
Published property ValuesDataKeyField: string read FValuesDataKeyField write FValuesDataKeyField;
Published property ValuesListKeyField: string read FValuesListKeyField write FValuesListKeyField;

Description

Methods

Public procedure DoLoadItemList; override;

load list of available items to FAllItemsList

Public procedure DoLoadItemValues; override;

load and set state (check/uncheck) of all items

Public procedure DoSaveItemValues; override;

store state (check/uncheck) of all items

Properties

Published property ListSource: TDataSource read GetListSource write SetListSource;

define datasource with List of Items in listbox

Published property ListKeyField: string read FListKeyFieldName write FListKeyFieldName;

define Key (ID) Field from ListSource

Published property ListDisplayField: string read FListDisplayFieldName write FListDisplayFieldName;

define displayed Fields from ListSource, Fields or "constants" are separated by ;

Published property ValuesSource: TDataSource read GetValuesSource write SetValuesSource;

define datasource with records matching DataSource and ListSource

Published property ValuesDataKeyField: string read FValuesDataKeyField write FValuesDataKeyField;

define Key (ID) Field for DataSource key value

Published property ValuesListKeyField: string read FValuesListKeyField write FValuesListKeyField;

define Key (ID) Field for ListSource key value


Generated by PasDoc 0.15.0.