[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class the represents a push button control
Source position: fpg_button.pas line 37
type TfpgBaseButton = class(TfpgWidget, ICommandHolder) |
||
protected |
||
FImageMargin: Integer; |
||
FImageSpacing: Integer; |
||
FEmbedded: Boolean; |
||
FDown: Boolean; |
||
FText: String; |
||
FDefault: Boolean; |
||
FState: Integer; |
||
procedure SetShowImage(); |
||
procedure HandlePaint; override; |
||
procedure HandleKeyPress(); override; |
||
procedure HandleKeyRelease(); override; |
||
procedure HandleLMouseDown(); override; |
||
procedure HandleLMouseUp(); override; |
||
procedure HandleMouseExit; override; |
||
procedure HandleMouseEnter; override; |
||
property AllowAllUp: Boolean; [rw] |
||
property AllowDown: Boolean; [rw] |
||
property Default: Boolean; [rw] |
||
property Down: Boolean; [rw] |
||
property Embedded: Boolean; [rw] |
||
property Flat: Boolean; [rw] |
||
property FontDesc: String; [rw] |
||
property GroupIndex: Integer; [rw] |
||
property ImageMargin: Integer; [rw] |
||
property ImageName: String; [rw] |
|
The registered name of a image to display on the button |
property ImageSpacing: Integer; [rw] |
|
The spacing between the Image and the Text |
property ImageLayout: TImageLayout; [rw] |
|
Defines where on the button the image will be displayed |
property ModalResult: TfpgModalResult; [rw] |
||
property ShowImage: Boolean; [rw] |
||
property Text: String; [rw] |
||
public |
||
constructor Create(); override; |
||
destructor Destroy; override; |
||
procedure Click; |
||
function GetCommand; |
||
procedure SetCommand(); |
||
end; |
|
Base class the represents a push button control |
|
| | ||
| | ||
| | ||
TfpgWindowImpl |
||
? | ||
TObject |