JVCL Help:TJvCaptionButton.Margin

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies the number of pixels between the edge of the image (or caption) and the edge of the button.


Pascal

 propertyMargin: Integer;


Description

The margin is the space between the image (or caption) edge and the button edge. The format of the edges depends on the alignment of the image and text (specified in the Alignment property). For example, if Alignment is taLeftJustify, the margin appears between the left edge of the image (or caption) and the left edge of the button. If Margin is 3, three pixels separate the image (or caption) and the button edges. If Margin is 0, there is no space between the image (or caption) and the button edges.
If Margin is -1 (the default value), the caption button uses a default margin.


See Also

TJvCaptionButton.Alignment, TJvCaptionButton.Layout


About

Notes

It is only used for nonstandard buttons (Standard = tsbNone).


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page