|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Resizing text boxesI 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. 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. 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. > > > 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 He meant Lock Controls in the Format menu.> is false. 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. >> >> >> "Someone" <nob***@cox.net> wrote in message The font size sets a minimum height for the controlnews:%23h9gvxC0FHA.3904@TK2MSFTNGP15.phx.gbl > There is no reason that I know of that why you can't make a TextBox > smaller, -- Reply to the group so all can participate VB.Net: "Fool me once..." "Someone" <nob***@cox.net> wrote in message Actually, it's because of the font. The text box will not allow you to make 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. it too small (short) to display the current font. "Jim Robb" <JimR***@discussions.microsoft.com> wrote in message If you can't squash the TextBox's any smaller (and can't make thenews: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? containing PictureBox any /bigger/) it sounds like you might have to resort to a "scrollable viewport". HTH, Phill W. 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. > > >
Using shellexecute......
Difference in SQL Syntax between Access and MySQL (from VB6 project using ADO) run time error 5 Amber Alert Ticker on VB6 Form Help - Single-Select with Listbox... VBA and ADODB.Recordset question user-defined type not defined Determine when report printed to specific printer Problem offering font selection with listview in regions other than US Searching for text in Text boxes |
|||||||||||||||||||||||