BevelButton.CaptionAlignment

From Xojo Documentation

Property (As CaptionAlignments )
aBevelButton.CaptionAlignment = newCaptionAlignmentsValue
or
CaptionAlignmentsValue = aBevelButton.CaptionAlignment

New in 2019r2

Supported for all project types and targets.

The alignment of the caption.

Sample Code

The following code sets the alignment to right. It is in the Open event of the control.

Me.CaptionAlignment = BevelButton.CaptionAlignments.Right