BevelButton.IconAlign
From Xojo Documentation
| This item was deprecated in version 2019r2. Please use BevelButton.IconAlignment as a replacement. |
Property (As Integer )
aBevelButton.IconAlign = newIntegerValue
or
IntegerValue = aBevelButton.IconAlign
Supported for all project types and targets.
or
IntegerValue = aBevelButton.IconAlign
Supported for all project types and targets.
The alignment of the Icon within the BevelButton.
Notes
IconAlign can take on the following values:
| Value | Description |
|---|---|
| 0 | Sys Direction (Default) |
| 1 | Center |
| 2 | Left |
| 3 | Right |
| 4 | Top |
| 5 | Bottom |
| 6 | Top left |
| 7 | Bottom left |
| 8 | Top right |
| 9 | Bottom right |
Sample Code
The following code places an icon in the BevelButton, aligns it, and specifies the placement of the caption. The graphic, "DatabaseQueryIcon," has been added to the project.
