![]() |
![]() ![]() ![]() |
acButtonsPanel component.
|
type
|
TacCustomButtonPosition = (cbpAfterLast, cbpBeforeFirst, cbpOppositeEdge);
|
|
property CustomButtonPosition: TacCustomButtonPosition;
|
The CustomButtonPosition property controls the placement of the Custom button (button which performs some custom action) on the buttons panel.
|
|
There is three possible positions for custom button:
|
cbpAfterLast | the custom button must be the last in the set of buttons (i.e: right after Cancel or Help);
|
cbpBeforeFirst | the custom button must be before OK button;
|
cbpOppositeEdge | the custom button must be placed to an opposite to other buttons edge (opposite to edge specified in Alignment property, see screenshot below).
|
|
![]() |
|
If the Align is alHorizontal then custom button will appears from the left of OK button, in case if the Align is alVertical, the custom button will be displayed at the top side of the panel, before the buttons.
|
Align, Alignment and BtnCustom properties.
|