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 Create A Weather App With The Python Delphi Ecosystem and Weatherstack API

CodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How To Create A Music Player With The Python Delphi Ecosystem

CodeIDEProjectsPythonWindows

Unlock the Power of Python for Deep Learning with Transformer Architecture - The Engine Behind ChatGPT

CodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How to Build An Image Editor Using DelphiFMX Python Package

Leave a Reply

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