TButton
TAbstractButton
that shows a Caption
.Inheritance
Level | Ancestor | Description |
---|---|---|
1 | TObject | Ultimate ancestor in a class hierarchy |
2 | TBaseObject | A base class for objects that can be used instead of TObject . |
3 | TControl | Visual user interface element that can react to user input. |
4 | TAbstractButton | Abstract base class for buttons |
5 | TButton |
Source
UserInterface.Control.Button.pas (79)
Fields
Scope | Visibility | Type | Name | Description |
---|---|---|---|---|
Instance | private | TButtonState | FState | |
Instance | private | TSingleLineTextControl | FLabelControl |
Methods
Scope | Visibility | Result | Name | Description |
---|---|---|---|---|
Instance | private | SetState(Value: TButtonState) | ||
Instance | protected | HasBeenBoundToLayout() | ||
Instance | protected | CaptionChanged() | ||
Instance | protected | BoundsChanged(OldBounds: TInteger32Rectangle; NewBounds: TInteger32Rectangle) | ||
Instance | protected | DownChanged() | ||
Instance | protected | HotChanged() | ||
Instance | protected | Layout() | ||
Instance | protected | TButtonState | DetermineState() | |
Instance | protected | TInteger32Rectangle | GetCaptionInsets() | |
Instance | protected | TInteger32Size | GetPreferredExtraSize() | |
Instance | protected | TInteger32Rectangle | CalculateCaptionRectangle() | |
Instance | protected | PaintButton(Canvas: TCanvas; Bounds: TInteger32Rectangle) | ||
Instance | public | Create() | ||
Instance | public | Paint(Canvas: TCanvas) | ||
Instance | public | TInteger32Size | GetPreferredSize(AvailableSize: TInteger32Size) |