text box size

C

clara

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
 
D

Duane Hookom

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.
 
C

clara

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
 
F

fredg

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top