This property defines the position of the image relative to the label text, when the tab or button label specifies both an image and a text..
|Image is placed to the left of the label
|Image is placed to the right of the label
|Image is placed above the label
|Image is placed above the label, to the left
|Image is placed above the label, to the right
|Image is placed below the label
|Image is placed below the label, to the left
|Image is placed below the label, to the right
|Supported in Grid?
|For command buttons, this property is
supported only when the Representation property is set to
By default, when images are defined for tabs and command buttons, they are positioned to the left of the label. You can change the position using the ImageLabelAlign property.
For command buttons, this property is supported
only when the Representation property is set to
Note: The size of the widget itself cannot be changed dynamically. If you change the ImgSize or ImageLabelAlign properties in ProcScript, ensure that the command button dimensions are large enough for the image and the text to fit.
Setting in ProcScript
The following ProcScript code sets the image position right relative to the label.
$fieldproperties(TABEX) = "imagelabelalign=right"