DelphiDelphiVCLPythonPython GUIWindows

Specify Component’s Width Properties using .Width

featuredimage2 2

.Width specifies the horizontal size of the control or form in pixels.

Use the Width property to read or change the width of the control.

Note: For tab sheet controls, changing this property at the run time does not affect.

Here are the examples of drawing a rectangle with Width =100, 200, 300, or 460 respectively:

The results:






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

Related posts

How To Plot A Line Graph In Python

Learn PythonPythonPython GUI

10 Python Data Visualization Libraries To Win Over Your Insights

Learn PythonPythonPython GUI

Top 6 Best Python Testing Frameworks [Updated 2022 List]

Python GUI

PyGUI: The Simple Way To Create A GUI With Python

Schreiben Sie einen Kommentar

Ihre E-Mail-Adresse wird nicht veröffentlicht.