text box size

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

I have a text box control on a report, and it should be accomodate 30
characters.So, how can I control the length of the control.


thank you so much for your help

Clara
 
You can set the length of the control manually in design mode. You can also
use code to set the length at run-time. There is code at www.lebans.com for
doing more stuff with sizing and/or changing font size.

Could you tell us why you want to change the width/length? This is a bit
unusual since most developers get by with allowing a control height to grow.
 
HI Duane,

I am new to this fields. My concerns is if I draw a small size' s text box ,
some characters will be truncated.

Clara

thank you so much for your help
 
HI Duane,

I am new to this fields. My concerns is if I draw a small size' s text box ,
some characters will be truncated.

Clara

thank you so much for your help

Set the Control's CanGrow property to Yes.
Also set the Report's Detail CanGrow property to Yes.

If the control is too short to accommodate all it's text, it will grow
in height, as will the detail section.
 
Back
Top