The CanGrow property determines the behavior when the Caption text is too large to fit into the Control:

  • if CanGrow=No, the Control retains its design-time height
  • if CanGrow=Scroll, the Control retains its design-time height, but allows the end user to scroll through the text
  • if CanGrow=Yes, the Control increases its height to accommodate the text

Possible Values

Yes, No, Scroll

Applies to

Form (Band), TextLabel, Container, SubForm, Checkbox, OptionButton, TabControl, Report (Band), SubReport


FX Code

Subform1.CanGrow := Yes;

Related Topics