[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Defines a button that could be embedded in another component.
Source position: buttons.inc line 22
type TGenericButton = class(TWidget) |
||
protected |
||
FEmbedded: Boolean; |
|
|
procedure Paint(); override; |
|
Draw the blank button face on the canvas. |
public |
||
constructor Create(); override; |
|
|
property Embedded: Boolean; [rw] |
|
|
end; |
|
Defines a button that could be embedded in another component. |
|
| | ||
|
The TWidget class is the base class of all user interface objects. |
|
| | ||
TComponent |
||
? | ||
TObject |
This class defines a button that could be embedded in another component. No default minimum size gets applied either. This is the most basic button you can use. Example of usage: The TScrollbar and TComboBox components use TGenericButtons.
|
Used to create new custom type of button components |
|