BevelButton.CaptionAlign
From Xojo Documentation
| This item was deprecated in version 2019r2. Please use BevelButton.CaptionAlignment as a replacement. |
Property (As Integer )
aBevelButton.CaptionAlign = newIntegerValue
or
IntegerValue = aBevelButton.CaptionAlign
Supported for all project types and targets.
or
IntegerValue = aBevelButton.CaptionAlign
Supported for all project types and targets.
The alignment of the caption.
Notes
CaptionAlign can take on the following values:
| Value | Description |
|---|---|
| 0 | Flush left |
| 1 | Flush right |
| 2 | Sys direction |
| 3 | Center |
Sample Code
The following code sets the alignment to right. It is in the Open event of the control.
Me.CaptionAlign = 1
