RAD Studio VCL Reference
TStaticText Class

TStaticText is a windowed control that displays text on a form.

TStaticText = class(TCustomStaticText);
class TStaticText : public TCustomStaticText;

The TStaticText component functions like TLabel, except that it descends from TWinControl and therefore has a window handle. Use TStaticText instead of TLabel when the component's accelerator key must belong to a windowed control—for example, on an ActiveX property page. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!