C1.C1Report Namespace > Field Class : CanGrow Property |
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2