[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomStaticText

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

The base class for TStaticText.

Declaration

Source position: stdctrls.pp line 1032

type TCustomStaticText = class(TWinControl) end;

protected

  class procedure WSRegisterClass; override;

  

Registers this component class with the current WidgetSet.

  function GetLabelText; virtual;

  

Returns the Caption of the control.

  procedure RealSetText(); override;

  procedure Notification(); override;

  

Notification handler for insertion or deletion of components.

  procedure SetFocusControl(); virtual;

  procedure SetShowAccelChar(); virtual;

  function DialogChar(); override;

  

Do something useful with accelerators etc.

  class function GetControlClassDefaultSize; override;

  

Returns the default size for this class of controls (when added to a form).

public

  constructor Create(); override;

  property Alignment: TAlignment; [rw]

  

The horizontal adjustment of the text - centered, left- or right-justified.

  property BorderStyle: TStaticBorderStyle; [rw]

  

The border shown around the control.

  property FocusControl: TWinControl; [rw]

  

The control that shall receive the focus instead of this control.

  property ShowAccelChar: Boolean; [rw]

  

Makes the accelerator character stand out (underlined) of the displayed text.

  property Transparent: Boolean; [rw]

  

Makes the control either opaque or transparent.

Inheritance

TCustomStaticText

  

The base class for TStaticText.

|

TWinControl

  

The base class for controls which can contain other (child) controls.

|

TControl

  

The base class for visible controls.

|

TLCLComponent

  

The base class for LCL components associated with widgets.

|

TComponent

?

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.