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.

close
Related posts
Python GUIVideos

How To Add A Color Picker To Your Python GUI

Learn PythonPythonPython GUIVideos

Learn Python GUI With Dropdown Menus With Tkinter Video

Learn PythonPython

10 Mistakes Most Developers Make With Python GUIs

Python

Become An Expert With A Python GUI Builder By Watching These 5 Videos

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.

fr_FRFrench