![featuredImage2 → Python GUI featuredimage2 4](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/03/featuredImage2-9015423.png?resize=1140%2C675&ssl=1)
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:
![0dir9631291 → Python GUI 0dir 9631291](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/05/0dir-9631291.png?resize=685%2C229&ssl=1)
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:
![0print7374276 → Python GUI 0print 7374276](https://i0.wp.com/pythongui.org/wp-content/uploads/2021/05/0print-7374276.png?resize=685%2C103&ssl=1)
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.