Language Reference Guide : System Classes : FormField Class : YTop Attribute
 
Share this page          
YTop Attribute
Data Type: integer
4GL Access: RW
The YTop attribute specifies the relative y-coordinate of the top edge of a field's bounding rectangle.
This boundary is the top of the outside of any border line or shadow for the field. For fields contained in composite fields, this boundary is the starting position relative to the upper edge of the composite. All coordinates are in 1000ths of an inch.
Default: 0
Note:  When you create a field dynamically, its size and position default to zero, so you must set some combination of attributes (such as XLeft, YTop, Height, and Width) to give the field a real size and position.
For more information about using this attribute, see the Programming Guide.