Error getting tags :
error 404Error getting tags :
error 404 topMargin | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
topMargin
Basics
Expander triangle
Type
Property
Syntax
set the topMargin of {button | field | group} to pixels
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies how close text within an object can come to the object's upper edge, and how close objects in a group can come to the group's upper edge.
Examples

set the topMargin of button "OK" to 10

Additional Comments
Expander triangle

Use the topMargin property to change the amount of blank space between an object's top edge and its contents.

Value:

The topMargin is a non-negative integer.

By default, the topMargin of a newly created field is 8. If the field's wideMargins property is true, the field's topMargin is set to 14. The default topMargin setting for a button or group is 4.

Comments:

The topMargin property of a field specifies how many blank pixels are left between the object's top edge and its contents. The topMargin of a group specifies how far the group's top edge extends below its uppermost object.

An object's topMargin property is equal to item 2 of its margins property.

User Comments
Expander triangle