Class TrDBGridsPropSave

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TrDBGridsPropSave = class(TDBGridsPropSave)

Description

provides re/storing of new rDBGrid & rDBRecView properties

Hierarchy

Overview

Methods

Public function CanSave(Comp: TComponent): boolean; override;
Public function GetCellParamKey(const Key: string; Idx: integer): string;
Public procedure ReadCellParamsCondList(PSFile: TPropSaveFile; const Key: string; CondList: TCellParamsCondList);
Public procedure SaveCellParamsCondList(PSFile: TPropSaveFile; const Key: string; CondList: TCellParamsCondList);

Properties

Published property StoreFieldsGroup: boolean read FStoreFieldsGroup write FStoreFieldsGroup default false;
Published property OnReadSaveProps: TReadSavePropsEvent read FOnReadSaveProps write FOnReadSaveProps;

Description

Methods

Public function CanSave(Comp: TComponent): boolean; override;

returns whether re/storing of Components from parameter is supported by TrDBGridsPropSave

Public function GetCellParamKey(const Key: string; Idx: integer): string;

returns key for cellparam specified by Idx

Public procedure ReadCellParamsCondList(PSFile: TPropSaveFile; const Key: string; CondList: TCellParamsCondList);

read CellParamsCondList from PSFile

Public procedure SaveCellParamsCondList(PSFile: TPropSaveFile; const Key: string; CondList: TCellParamsCondList);

store CellParamsCondList to PSFile

Properties

Published property StoreFieldsGroup: boolean read FStoreFieldsGroup write FStoreFieldsGroup default false;

define whether fields group definition is re/stored

Published property OnReadSaveProps: TReadSavePropsEvent read FOnReadSaveProps write FOnReadSaveProps;

event is called after read/store of DBGrid props


Generated by PasDoc 0.13.0 on 2016-02-19 08:14:10