BevelButton.CaptionDelta

From Xojo Documentation

Property (As Integer )
aBevelButton.CaptionDelta = newIntegerValue
or
IntegerValue = aBevelButton.CaptionDelta

Supported for all project types and targets.

The distance (in pixels) of the caption from the left of the button.

Sample Code

The following example moves the caption 10 pixels from the left.

Me.Caption = "Caption"
Me.CaptionAlign = 0 // left
Me.CaptionDelta = 10