BevelButton.CaptionPlacement
From Xojo Documentation
This item was deprecated in version 2019r2. Please use BevelButton.CaptionPosition as a replacement. |
Property (As Integer )
aBevelButton.CaptionPlacement = newIntegerValue
or
IntegerValue = aBevelButton.CaptionPlacement
Supported for all project types and targets.
or
IntegerValue = aBevelButton.CaptionPlacement
Supported for all project types and targets.
The placement of the caption relative to the graphic (Icon property).
Notes
CaptionPlacement can take on the following values:
Value | Description |
---|---|
0 | Sys Direction |
1 | Normally |
2 | Right of graphic |
3 | Left of graphic |
4 | Below graphic |
5 | Above graphic |
Sample Code
This code places the caption to the right of the graphic. The image, "Woof", is an image that has been added to the project.