Specify Component's Width Properties using .Width
February 28, 2021
.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:
# Draw a rectangle
shpRectangle =…