
DelphiVCL.StaticText or TStaticText is a windowed control that displays text on a form.
The DelphiVCL.StaticText or 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.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.StaticText using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.StaticText) |
See the responses in our Windows command prompt:

You can also read short information about the DelphiVCL.StaticText using the print() command:
1 2 |
print(DelphiVCL.StaticText) print(DelphiVCL.StaticText.__doc__) |
See the responses in our Windows command prompt:

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.