RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TImageMargins Class

Margins of image on button.

Pascal
TImageMargins = class(TPersistent);
C++
class TImageMargins : public TPersistent;

A button image may be positioned using margins. TImageMargins defines the margins of an image on a TButton. The margin values are in the Bottom, Top, Left and Right properties. 

The OnChange event is triggered when a margin changes. 

The TButton.ImageMargins property contains a TImageMargins instance. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!