Width Property
Applies To
Form, Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, TrackBar, StatusBar, Grid , TabControl
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, Label, TextBox, RadioButton, Checkbox, ListBox, ComboBox, PictureBox, GroupBox, VideoBox, LED, ProgressBar, TrackBar, StatusBar, Left, Top, Height , TabControl
Example
GSet frmMain.txtStatus.Width, 300