[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
The base class for TStaticText.
Source position: stdctrls.pp line 1088
type TCustomStaticText = class(TWinControl) |
||
protected |
||
class procedure WSRegisterClass; override; |
|
Registers this component class with the current WidgetSet. |
function GetLabelText; virtual; |
|
Returns the Caption for the control. |
procedure RealSetText(); override; |
|
Sets the value for the Caption property. |
procedure Notification(); override; |
|
Handles a notification that a component used in the control has been added or removed. |
procedure SetFocusControl(); virtual; |
|
Sets the value for the FocusControl property. |
procedure SetShowAccelChar(); virtual; |
|
Sets the value for the ShowAccelChar property. |
function DialogChar(); override; |
|
Handles an accelerator key for the control. |
class function GetControlClassDefaultSize; override; |
|
Returns the default dimensions for new instances of the class. |
public |
||
constructor Create(); override; |
|
Constructor for the class instance. |
property Alignment: TAlignment; [rw] |
|
The horizontal alignment for the text; centered, left- or right-justified. |
property BorderStyle: TStaticBorderStyle; [rw] |
|
The border drawn around the control. |
property FocusControl: TWinControl; [rw] |
|
The control that receives focus instead of this control. |
property ShowAccelChar: Boolean; [rw] |
|
Indicates if an accelerator character is drawn in the displayed text. |
property Transparent: Boolean; [rw] |
|
Makes the background color for the control transparent when True. |
end; |
|
The base class for TStaticText. |
|
| | ||
|
Implements a windowed control which can contain other child controls. |
|
| | ||
|
The base class for visible controls. |
|
| | ||
|
The base class for LCL components which have an associated widget. |
|
| | ||
| | ||
| | ||
Specifies the base ancestor for TStaticText, a control used to display static text. TCustomStaticText is a TWinControl descendant. It can be used in place of TLabel for situations where a TWinControl descendant is required.
Version 3.2 | Generated 2024-02-25 | Home |