Sign in Join
FPDoc Onlineexperiment

TTaskDialogButtons class

In unit Dialogs

Collection type used to access and maintain buttons defined for a Task dialog.

Declaration

pascal
TTaskDialogButtons = class(TOwnedCollection)

Inheritance

  1. TTaskDialogButtons
  2. TOwnedCollection
  3. TCollection
  4. TPersistent
  5. TObject

Description

TTaskDialogButtons is a TOwnedCollection descendant which implements the collection used for the buttons on a Task dialog. TTaskDialogButtons provides properties and methods used to access and maintain the buttons in the collection, such as: Add, FindButton, DefaultButton, Items, and GetEnumerator.

TTaskDialogButtons is the type used for the Buttons and RadioButtons properties in TCustomTaskDialog / TTaskDialog.

See also

Properties

DefaultButtonpublicContains the collection item that is the default button for a Task dialog.
ItemspublicProvides indexed access to buttons defined in the collection.

Methods

AddpublicAdds a new collection item using the ItemClass for the collection.
FindButtonpublicGets the button item in the collection with the specified modal result value.
GetEnumeratorpublicGets an enumerator for the buttons in the Items property.

Inherited

From TOwnedCollection (2)

Create GetOwner

From TCollection (27)

Assign BeginUpdate Changed Clear Count Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount

From TPersistent (5)

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.