Class TrDBColorLinkedComp
Unit
rDBColorLinkedComp
Declaration
type TrDBColorLinkedComp = class(TComponent)
Description
non visual component which set font and background color of db avare components according rDBGrid colors for selected record and field
Hierarchy
- TComponent
- TrDBColorLinkedComp
Overview
Methods
Properties
Description
Methods
|
procedure ColorLinkedComps; |
refresh colors of all linked components, called automatically when dataset scrolled or changed
|
Properties
|
property rDBGrid: TrDBGrid read FGrid write SetGrid; |
linked rDBGrid which is used as source of colors
|
|
property DataSource: TDataSource read GetDataSource write SetDataSource stored IsPropSaveSet; |
linked Datasource which is used as source of data in case that rDBGrid is not assigned or created
|
|
property PropSaveFile: TPropSaveFile read FPropSaveFile write SetPropSaveFile; |
linked PropSaveFile which is used as source of settings in case that rDBGrid is not assigned or created
|
|
property PropSaveKey: string read FPropSaveKey write FPropSaveKey stored IsPropSaveSet; |
define Key used by linked rDBGrid in case that rDBGrid is not assigned or created
|
|
property LinkedComps: TStrings read FLinkedComps write SetLinkedComps; |
list of linked component names, set automatically if LinkAllComps is TRUE
|
|
property LinkAllComps: boolean read FLinkAllComps write SetLinkAllComps default true; |
define whether all supported components is added automatically
|
|
property LoadAllCompsNow: boolean read FLoadAllCompsNow write SetLoadAllCompsNow default false; |
used only for loading of list of all supported components in design time
|
|
property LinkDelayed: boolean read FLinkDelayed write FLinkDelayed default true; |
define whether update of linked components after loading is delayed to avoid flickering
|
|
property LinkDelay: cardinal read FLinkDelay write FLinkDelay default 250; |
define delay in ms for first update after loading
|
|
property KeepFontSize: boolean read FKeepFontSize write FKeepFontSize default true; |
define whether font size and name of linked components is kept independently of DBGrid font
|
|
property KeepBackground: boolean read FKeepBackground write FKeepBackground default false; |
define whether background color of linked components is kept independently of DBGrid color
|
|
property Enabled: boolean read FEnabled write SetEnabled default true; |
define whether function is Enabled
|
|
property OnIsSupportedComponent: TIsSupportedComponent read FIsSupportedComponent write FIsSupportedComponent; |
event can be used to define supported component types
|
|
property OnReadComponentProps: TComponentPropsEvent read FReadComponentProps write FReadComponentProps; |
event can be used to read Field, Color and Font of any db avare component
|
|
property OnSetComponentProps: TComponentPropsEvent read FSetComponentProps write FSetComponentProps; |
event can be used to set Color and Font of any db avare component
|
Generated by PasDoc 0.15.0.
|