BevelButton.CaptionAlign

From Xojo Documentation

Property (As Integer )
aBevelButton.CaptionAlign = newIntegerValue
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