ImageAlign Property
Applies To
Button, Label, RadioButton, CheckBox, LED
Description
Gets or sets the image alignment for the image that is displayed on a control.
Usage
GGet Form.Control.ImageAlign, var
GSet Form.Control.ImageAlign, 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
1 - TopLeft
2 - TopCenter
3 - TopRight
4 - MiddleLeft
5 - MiddleCenter
6 - MiddleRight
7 - BottomLeft
8 - BottomCenter
9 - BottomRight
Default:
- 5 - MiddleCenter (Button, Label, RadioButton, CheckBox)
- 4 - MiddleLeft (LED)
See Also
Button, Label, RadioButton, Checkbox, LED, Image, TextAlign
Example
GSet frmMain.btnTools.ImageAlign, IMAGEALIGN_MIDDLECENTER