Home All Groups Group Topic Archive Search About
Author
13 Oct 2005 6:18 PM
Jim Robb
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.

Author
13 Oct 2005 6:53 PM
Matt Williamson
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


Show quoteHide quote
"Jim Robb" <JimR***@discussions.microsoft.com> wrote in message
news:98E4A689-E9EF-45C2-9D4E-5B0B1575C0CD@microsoft.com...
>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.
Author
13 Oct 2005 7:15 PM
Jim Robb
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.

Show quoteHide quote
"Matt Williamson" wrote:

> 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
>
>
> "Jim Robb" <JimR***@discussions.microsoft.com> wrote in message
> news:98E4A689-E9EF-45C2-9D4E-5B0B1575C0CD@microsoft.com...
> >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.
>
>
>
Author
13 Oct 2005 7:29 PM
Someone
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.


Show quoteHide quote
"Jim Robb" <JimR***@discussions.microsoft.com> wrote in message
news:600A3891-49F9-42EE-822E-C4631A61C68D@microsoft.com...
> 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.
>
> "Matt Williamson" wrote:
>
>> 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
>>
>>
>> "Jim Robb" <JimR***@discussions.microsoft.com> wrote in message
>> news:98E4A689-E9EF-45C2-9D4E-5B0B1575C0CD@microsoft.com...
>> >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.
>>
>>
>>
Author
13 Oct 2005 7:42 PM
Bob Butler
"Someone" <nob***@cox.net> wrote in message
news:%23h9gvxC0FHA.3904@TK2MSFTNGP15.phx.gbl
> 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..."
Author
13 Oct 2005 7:59 PM
Jeff Johnson [MVP: VB]
"Someone" <nob***@cox.net> wrote in message
news:%23h9gvxC0FHA.3904@TK2MSFTNGP15.phx.gbl...

> 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.
Author
14 Oct 2005 11:37 AM
Phill. W
"Jim Robb" <JimR***@discussions.microsoft.com> wrote in message
news:98E4A689-E9EF-45C2-9D4E-5B0B1575C0CD@microsoft.com...
> 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.
Author
14 Oct 2005 5:54 PM
Jim Robb
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.

Show quoteHide quote
"Phill.  W" wrote:

> "Jim Robb" <JimR***@discussions.microsoft.com> wrote in message
> news:98E4A689-E9EF-45C2-9D4E-5B0B1575C0CD@microsoft.com...
> > 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.
>
>
>