Class TrDBToolButton

Unit

Declaration

type TrDBToolButton = class(TToolButton)

Description

ToolButton which provides mooving and editing actions for linked dataset, enability of button is automaticaly set according ButtonType and Dataset state

Hierarchy

  • TToolButton
  • TrDBToolButton

Overview

Properties

Published property DataSource: TDataSource read GetDataSource write SetDataSource;
Published property ButtonType: TrDBButtonType read FButtonType write FButtonType default btEnaIfEdit;
Published property EnabledAll: boolean read FEnabledAll write SetEnabledAll default true;
Published property SkipDBAction: boolean read FSkipDBAction write FSkipDBAction default false;
Published property Font;
Published property ParentFont;

Description

Properties

Published property DataSource: TDataSource read GetDataSource write SetDataSource;

link to connected dataset

Published property ButtonType: TrDBButtonType read FButtonType write FButtonType default btEnaIfEdit;

type of button - define enability and action after click, btEnaIf types do not do any action but their enability depends on database state

Published property EnabledAll: boolean read FEnabledAll write SetEnabledAll default true;

set global enable property for button, if set to false then button is always disabled

Published property SkipDBAction: boolean read FSkipDBAction write FSkipDBAction default false;

define if database action is skipped and click event is called only

Published property Font;
 
Published property ParentFont;
 

Generated by PasDoc 0.15.0.