Sign in Join
FPDoc Onlineexperiment

TTaskDialogBaseButtonItem class

In unit Dialogs

Defines the base class for a custom button displayed on a Task dialog.

Declaration

pascal
TTaskDialogBaseButtonItem = class(TCollectionItem)

Inheritance

  1. TTaskDialogBaseButtonItem
  2. TCollectionItem
  3. TPersistent
  4. TObject

Descends from it: TTaskDialogButtonItem TTaskDialogRadioButtonItem

Description

TTaskDialogBaseButtonItem is a TCollectionItem descendant which defines a custom button that can be displayed on a Task dialog. It provides properties that indicate the Caption for the button, its use as the Default button on a dialog, and its ModalResult value.

TTaskDialogBaseButtonItem is the ancestor class for TTaskDialogBaseButtonItem.

See also

Properties

ClientprotectedTCustomTaskDialog where the button is used.
ModalResultpublicModal result value returned when the button is clicked.
CommandLinkHintpublicProvides additional information about the button when command links are enabled in a task dialog.
CaptionpublishedCaption text displayed on the button surface.
DefaultpublishedIndicates if the button is the default button on a Task dialog.

Methods

GetDisplayNameprotectedGets the value for the DisplayName property.
TaskButtonCollectionprotectedGets the collection where the button definition is stored.
CreatepublicConstructor for the class instance.

Inherited

From TCollectionItem (11)

Changed Collection Destroy DisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex

From TPersistent (6)

Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.