ComponentOne VSView Reporting Edition
RenderTop Property (Field)

Returns the top of the field after the section has been modified to accommodate CanGrow/CanShrink fields.

Syntax

field.RenderTop[ = value As Double ]

Remarks

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.

Data Type

Double

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback