How can I make the textbox in a VB Inputbox larger?
Asked
Active
Viewed 4,533 times
3
-
1WPF, Silverlight, WinForms, WP7? – Nick Heidke Jul 07 '11 at 18:05
-
@NickHeidke I am just making a VB.NET Executable. – Odinulf Jul 07 '11 at 18:11
-
@Odinuff: What kind of executable? Are you using System.Windows.Forms? System.Web.UI.WebControls? – IAbstract Jul 07 '11 at 18:17
-
1@IAbstract The default in a Windows Forms application, which I would assume would thus be System.Windows.Forms.... – Odinulf Jul 07 '11 at 18:31
2 Answers
2
You can't modify the input box, just create your own custom input box.

aruss
- 354
- 1
- 13
-
-
google for "creating custom controll vb.net" there are plenty posts about it. – aruss Jul 07 '11 at 19:07
-
1Basically you just create your own form that looks/acts like the inputbox control. With that you will be able to modify the height and width, really anything you want – Gage Jul 07 '11 at 19:16
0
You can use multiline textbox if thats what you mean. Or you can create a new inputbox form and add a multiline textbox to it and set the anchor to all directions, so if you change the form size it will change its size as well.
Or you could use a normal textbox and just change the font size.

Milot25
- 335
- 1
- 6
- 14