[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
The base class for clickable buttons (TButton and TBitBtn).
Source position: stdctrls.pp line 1152
type TCustomButton = class(TButtonControl) end; |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
procedure CreateWnd; override; |
||
procedure CreateParams(); override; |
||
procedure ControlKeyDown(); override; |
|
Lets the Application handle an navigation key. |
procedure ControlKeyUp(); override; |
|
Lets the Application handle an navigation key. |
function DialogChar(); override; |
|
Do something useful with accelerators etc. |
function ChildClassAllowed(); override; |
|
Returns True if the given class is allowed for child controls. |
class function GetControlClassDefaultSize; override; |
||
property ParentColor: Boolean; |
|
If true, the Color of the control will be the same as the one from the Parent. Default is true. |
procedure WSSetDefault; |
|
Notify the widget of dynamic changes of the Default property. |
procedure WSSetText(); override; |
|
Notify the widgetset of changes in the Caption and/or accelerator. |
procedure TextChanged; override; |
|
Handles changes of the Text property. |
procedure Loaded; override; |
||
procedure UpdateDefaultCancel; |
|
Update the parent form's Default and Cancel properties. |
public |
||
constructor Create(); override; |
||
procedure Click; override; |
|
Propagates ModalResult to the parent form, before further processing. |
procedure ExecuteDefaultAction; override; |
|
Invoke Click if the control is Active or Default. |
procedure ExecuteCancelAction; override; |
|
Invoke Click if the control is the Cancel button. |
procedure ActiveDefaultControlChanged(); override; |
|
Notification of a changed active DefaultControl of a form. |
procedure UpdateRolesForForm; override; |
|
Internal method, called by a Form when its DefaultControl or CancelControl has changed. |
function UseRightToLeftAlignment; override; |
|
True when BiDiMode is bdRightToLeft. |
property Active: Boolean; [rs] |
|
True if this control is the Cancel or Default button. |
property Default: Boolean; [rw] |
|
True if this is the modal Default button. |
property ModalResult: TModalResult; [rw] |
|
When clicked, the button will close the form and return its ModalResult. (unless mrNone) |
property ShortCut: TShortcut; [r] |
|
|
property ShortCutKey2: TShortcut; [r] |
|
|
property Cancel: Boolean; [rw] |
|
True if this is the modal Cancel button. |
|
The background color of the control. |
|
property TabStop: Boolean; |
|
Allows the user to navigate to this control, by pressing the Tab key. |
|
The base class for clickable buttons (TButton and TBitBtn). |
|
| | ||
|
The base class for various button controls. |
|
| | ||
|
The base class for controls which can contain other (child) controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components associated with widgets. |
|
| | ||
TComponent |
||
? | ||
TObject |
lazarus-ccr.sourceforge.net |