Sign in Join
FPDoc Onlineexperiment

TTaskDialogButtonItem class

In unit Dialogs

Implements a button definition used for a button in TCustomTaskDialog.

Declaration

pascal
TTaskDialogButtonItem = class(TTaskDialogBaseButtonItem)

Inheritance

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

Description

TTaskDialogButtonItem is a TTaskDialogBaseButtonItem descendant used to define and store buttons created in TCustomTaskDialog / TTaskDialog. It provides an overridden constructor which creates an object inspector-friendly name for the button item. It also sets the visibility for the ModalResult property to published.

TTaskDialogButtonItem is the type used for the Button property in TCustomTaskDialog, and maintained in its Buttons collection.

See also

Properties

CommandLinkHintpublishedProvides additional information about the button when command links are enabled in a task dialog.
ModalResultpublishedModal result value returned when the button is clicked.

Methods

CreatepublicConstructor for the class instance.

Inherited

From TTaskDialogBaseButtonItem (5)

Caption Client Default GetDisplayName TaskButtonCollection

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.