TDialogButton class
Implements a standard dialog button.
Declaration
TDialogButton = class(TCollectionItem)Inheritance
- TDialogButton
- TCollectionItem
- TPersistent
- TObject
Description
TDialogButton is a
TCollectionItem descendant which
implements a standard dialog button.
TDialogButton is the type created and stored in the TDialogButtonsCollection. An overridden method is provided to use the
Caption as the DisplayName for the collection item.
TDialogButton contains properties used to control how a dialog button button is displayed and used.
Caption contains the text displayed on the button face, and can
define an accelerator key by prefixing a character with an
Ampersand
(
&).
Cancels indicate if the dialog button is used as the Cancel button
in the Collection.
Default indicates if the dialog button is the default button in
the Collection.
See also
Properties
Caption | public | Value displayed on the button face. |
Cancel | public | True if the button is the Cancel button. |
Default | public | True if the button is the default button. |
ModalResult | public | The modal result value returned when the button is clicked. |
Methods
GetDisplayName | protected | Gets the value for the DisplayName property. |
SetCaption | protected | Sets the value for the Caption property. |
Create | public | Constructor 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.
