Class TrDBToolButton

DescriptionHierarchyFieldsMethodsProperties

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, btEnaIf... types do not do any action but their enability depends on database 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

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

set enable property for button

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.13.0 on 2016-10-19 12:19:00