Width Property
Applies To
Form, Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, TrackBar, StatusBar, Grid , TabControl, Wizard, TreeView
Description
Get or sets the width of a form or control in pixels.
Usage
GGet Form.[Control].Width, var
GSet Form.[Control].Width, value
- Form
- Name of a form or string variable containing a form name.
- Control
- Name of a control or string variable containing a control name.
- var
- Integer variable that will contain the value of the property.
- value
- Integer expression for the new value of the property.
Values
An integer representing the width in pixels.
See Also
Form , Button Control , Label Control , TextBox Control , RadioButton Control , CheckBox Control , ListBox Control , ComboBox Control , PictureBox Control , GroupBox Control , VideoBox Control , LED Control , ProgressBar Control , TrackBar Control , StatusBar Control , Tab Control, Wizard Control , Tree View Control , Left Property , Top Property , Height Property
Example
GSet frmMain.txtStatus.Width, 300