ComponentOne VSView Reporting Edition
CanGrow Property (Field)

Returns or sets whether the Field height should be automatically increased to fit the Field's contents.

Syntax

field.CanGrow[ = {True | False} ]

Remarks

You can use the CanGrow and CanShrink properties to control the appearance of report fields and sections. When you set both properties to True, the field or section automatically adjusts so any amount of data can be printed. When a field grows or shrinks, the fields below it move down or up the page.

If you set a field's CanGrow property to True, the control automatically sets the CanGrow property of the containing section to True. (However, if you set a control's CanShrink property to True, the control doesn't set the section's CanShrink property to True.)

When you use the CanGrow and CanShrink properties, remember that:

1.   The property settings don't affect the horizontal spacing between fields; they affect only the vertical space the fields occupy.

2.   The height of a large field can prevent fields beside it from shrinking. For example, if several short controls are on the left side of a report's detail section and one tall control, such as an unbound object frame, is on the right side, the controls on the left won't shrink, even if they contain no data.

Data Type

Boolean

 

 


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

Product Support Forum  |  Documentation Feedback