Walter
Walter

Reputation: 83

How to set textbox width depending of text length in ActiveReports

is there a property to set the width of a textbox so that it will grow/shrink in order to it´s text length? I don´t want to calculate a length/width ratio constant.. Thanks, Walter

Upvotes: 0

Views: 2487

Answers (2)

Sankalp1984
Sankalp1984

Reputation: 427

If it helps then you may want to check the ShrinkToFit property which reduces the size of the text so that it fits within the bounds of the control.

Upvotes: 2

IssamElbaytam
IssamElbaytam

Reputation: 126

Thank you for using ActiveReports. The CanGrow and CanShrink only work on the height. ActiveReports operates -like other report engines- on the premise that report width is fixed and the controls grow vertically only.

Upvotes: 1

Related Questions