Links
EControl Form Designer Pro
TBtnMargins Class

Contains margins and spaces for a button's array in TCustomBtnPanel

TBtnMargins = class(TPersistent);

ecBtnPanel

TBtnMargins is used in the Margins property of TCustomBtnPanel and its descendants (i.e. TPalettePanel). 

It specifies the Left, Top, Right and Bottom margins between buttons and underlaying panel as well as horizontal and vertical spaces between buttons themselves.

This example demonstrates how to set Margins property at run-time

Topic 
Description 
The properties of the TBtnMargins class are listed here. 
 
Property 
TBtnMargins Properties 
Description 
Specifies the bottom margin between underlaying panel and the very lower line of buttons 
Specifies the horizontal spaces between the buttons 
Specifies the vertical spaces between the buttons 
Left 
Specifies the left margin between underlaying panel and the very left button. 
Specifies the right margin between underlaying panel and the very right button. 
Top 
Specifies the top margin between underlaying panel and the very upper line of buttons 
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!