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
DelphiFMXDelphiVCLNewsPythonPython GUI

Introducing Python 3.11 And Documentation Support To The DelphiFMX And DelphiVCL GUI Python Packages

AndroidCodeDelphiDelphiFMXLearn PythonPythonPython GUI

How To Create A Tic-Tac-Toe Game Using Delphi Python EcoSystem

CodeDelphiDelphiFMXPythonPython GUI

How To Write A Simple Todo Gui Application Using Delphifmx

DelphiDelphiFMXProjectsPythonPython GUI

How To Create A Currency Converter Application Using Delphi Python EcoSystem

Leave a Reply

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

en_USEnglish