BevelButton.CaptionPosition

From Xojo Documentation

Property (As CaptionPositions )
aBevelButton.CaptionPosition = newCaptionPositionsValue
or
CaptionPositionsValue = aBevelButton.CaptionPosition

New in 2019r2

Supported for all project types and targets.

The position of the caption relative to the icon.

Sample Code

This code positions the caption to the right of the icon. The image, "Woof", is an image that has been added to the project.

Me.Caption = "Fido"
Me.CaptionAlignment = BevelButton.CaptionAlignments.Left
Me.CaptionDelta = 10
Me.icon = Woof
Me.CaptionPosition = BevelButton.CaptionPositions.RightOfIcon