RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSpeedButton.Spacing Property

Determines where the image and text appear on a speed button.

Pascal
property Spacing: Integer;
C++
__property int Spacing;

Set Spacing to the number of pixels that should appear between the image specified in the Glyph property and the text specified in the Caption property.  

If Spacing is a positive number, its value is the number of pixels between the image and text. If Spacing is 0, the image and text appear flush with each other. If Spacing is -1, the text appears centered between the image and the button edge. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!