ImageEn, unit iexLayerMView |
|
TImageEnLayerMView.SetButtonParams
Declaration
procedure SetButtonParams(Position : TIEMCheckboxPos;
AlignVert: Boolean = False;
HMargin: Integer = 6; VMargin: Integer = 6;
Spacing: Integer = 4;
SmallButtons: Boolean = True);
Description
Set styling of the visibility and locked buttons.
Parameter | Description |
Position | Position of the buttons (Default: iecpAutomatic) |
VertAlign | Align multiple buttons vertically, instead of horizontally |
HMargin, VMargin | Spacing between edge-most button and the side of the thumbnail |
Spacing | Spacing between buttons |
SmallButtons | Display 16x16 or 20x20 buttons |
Notes:
- Display of buttons is set in
LayerOptions- You can customize the buttons using the
OnAddToolbarButtonImage event
Example
// Add buttons at top right of thumbnail
IELayerMView1.SetButtonParams( iecpTopRight );