VSView Reporting Edition Reference > Field Object > Field Properties > RenderTop Property (Field) |
Returns the top of the field after the section has been modified to accommodate CanGrow/CanShrink fields.
field.RenderTop[ = value As Double ]
The Top property specifies the top position of a Field within its Section. When the CanGrow or CanShrink properties of fields above a give field are set to true, the field is pushed" or "pulled" by the other fields and its position is adjusted to preserve the layout of the section. The RenderTop property returns the adjusted position, which can be used within event handlers to adjust the position of other fields within the section.
This value is calculated after the OnFormat script event fires (so any changes the script makes to the field are accounted for), but before the OnPrint event fires. Therefore, you can only use RenderHeight when handling the OnPrint event.
Double