The CanShrink property determines the behavior when the Caption text is too small to completely fill the Control:

  • if CanShrink=False, the Control maintains its design-time height
  • if CanShrink=True, the Control decreases its height to accommodate the text Note: enabling CanShrink has no effect unless CanGrow is also enabled. Using this property only makes sense if the control will contain data bound controls. If there is only a small amount of content to be displayed within the control, its height will be reduced so that it elegantly displays the content without leaving large blank areas in the page. More information on how controls can grow and shrink at runtime is available under the topic Plastic Layout.


Possible Values

Boolean


Applies to

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


Syntax

Related Topics

Properties