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:

1 1width 100 4233495

 

1 2width 200 1302766
 
1 3width 300 5672376

 

1 4width 460 7319464

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

Related posts
CodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How to Build An Image Editor Using DelphiFMX Python Package

CodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How To Use LangChain and DelphiFMX To Create a Custom Chat App

CodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How To Build an Iris Flower Classification GUI App With DelphiFMX

CodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How To Implement an Art Style Transfer GUI App with the Python Delphi Ecosystem

Leave a Reply

Your email address will not be published. Required fields are marked *