Resizing text boxes  
Author Message
Jono2000





PostPosted: Thu Oct 13 13:53:44 CDT 2005 Top

Visual Basic >> Resizing text boxes

I have 7 text boxes on top of a picture box indexed 1 through 7. I want to
add 3 more. To do this I need to resize the text boxes. I am not able to
resize them. What is the best way to achieve this?
Thanks.

Visual Studio75  
 
 
Matt





PostPosted: Thu Oct 13 13:53:44 CDT 2005 Top

Visual Basic >> Resizing text boxes Why aren't you able to resize them? Are you saying that you want to but
can't or that your design constraints don't allow for it? When you say the
textboxes are indexed, I'm assuming they're in a control array, correct?
Provided you don't have the control lock enabled, you should just be able to
click inside the picturebox and then click one of your text boxes and copy
paste it (inside the picturebox) to create another one. That's what I just
did and it worked fine. Try it on a new form if it isn't working in your
current one.

-HTH

Matt




>I have 7 text boxes on top of a picture box indexed 1 through 7. I want to
> add 3 more. To do this I need to resize the text boxes. I am not able to
> resize them. What is the best way to achieve this?
> Thanks.


 
 
JimRobb





PostPosted: Thu Oct 13 14:15:06 CDT 2005 Top

Visual Basic >> Resizing text boxes There is no room on the Picture Box. That's why I must make them smaller. I
can't just make the text boxes smaller (I don't know why) the Locked property
is false. I can cut and paste ok, but there is nowhere on the box to put them.



> Why aren't you able to resize them? Are you saying that you want to but
> can't or that your design constraints don't allow for it? When you say the
> textboxes are indexed, I'm assuming they're in a control array, correct?
> Provided you don't have the control lock enabled, you should just be able to
> click inside the picturebox and then click one of your text boxes and copy
> paste it (inside the picturebox) to create another one. That's what I just
> did and it worked fine. Try it on a new form if it isn't working in your
> current one.
>
> -HTH
>
> Matt
>
>


> >I have 7 text boxes on top of a picture box indexed 1 through 7. I want to
> > add 3 more. To do this I need to resize the text boxes. I am not able to
> > resize them. What is the best way to achieve this?
> > Thanks.
>
>
>
 
 
Someone





PostPosted: Thu Oct 13 14:29:35 CDT 2005 Top

Visual Basic >> Resizing text boxes There is no reason that I know of that why you can't make a TextBox smaller,
other than that you are using a different control, not the standard TextBox,
or you have Format|Lock Controls enabled.

> the Locked property
> is false.

He meant Lock Controls in the Format menu.




> There is no room on the Picture Box. That's why I must make them smaller.
> I
> can't just make the text boxes smaller (I don't know why) the Locked
> property
> is false. I can cut and paste ok, but there is nowhere on the box to put
> them.
>

>
>> Why aren't you able to resize them? Are you saying that you want to but
>> can't or that your design constraints don't allow for it? When you say
>> the
>> textboxes are indexed, I'm assuming they're in a control array, correct?
>> Provided you don't have the control lock enabled, you should just be able
>> to
>> click inside the picturebox and then click one of your text boxes and
>> copy
>> paste it (inside the picturebox) to create another one. That's what I
>> just
>> did and it worked fine. Try it on a new form if it isn't working in your
>> current one.
>>
>> -HTH
>>
>> Matt
>>
>>


>> >I have 7 text boxes on top of a picture box indexed 1 through 7. I want
>> >to
>> > add 3 more. To do this I need to resize the text boxes. I am not able
>> > to
>> > resize them. What is the best way to achieve this?
>> > Thanks.
>>
>>
>>


 
 
Bob





PostPosted: Thu Oct 13 14:42:31 CDT 2005 Top

Visual Basic >> Resizing text boxes

> There is no reason that I know of that why you can't make a TextBox
> smaller,

The font size sets a minimum height for the control

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

 
 
Jeff





PostPosted: Thu Oct 13 14:59:14 CDT 2005 Top

Visual Basic >> Resizing text boxes



> There is no reason that I know of that why you can't make a TextBox
> smaller, other than that you are using a different control, not the
> standard TextBox, or you have Format|Lock Controls enabled.

Actually, it's because of the font. The text box will not allow you to make
it too small (short) to display the current font.


 
 
Phill





PostPosted: Fri Oct 14 06:37:01 CDT 2005 Top

Visual Basic >> Resizing text boxes

> I have 7 text boxes on top of a picture box indexed 1 through 7. I want to
> add 3 more. To do this I need to resize the text boxes. I am not able to
> resize them. What is the best way to achieve this?

If you can't squash the TextBox's any smaller (and can't make the
containing PictureBox any /bigger/) it sounds like you might have
to resort to a "scrollable viewport".

HTH,
Phill W.


 
 
JimRobb





PostPosted: Fri Oct 14 12:54:02 CDT 2005 Top

Visual Basic >> Resizing text boxes The Font size was set to a max size of 36. I changed it to 14 and I was able
to make the text box smaller.
Thanks to all who replied.





> > I have 7 text boxes on top of a picture box indexed 1 through 7. I want to
> > add 3 more. To do this I need to resize the text boxes. I am not able to
> > resize them. What is the best way to achieve this?
>
> If you can't squash the TextBox's any smaller (and can't make the
> containing PictureBox any /bigger/) it sounds like you might have
> to resort to a "scrollable viewport".
>
> HTH,
> Phill W.
>
>
>