| | | Forum Newbie
       
Group: Forum Members Last Login: 8/5/2009 2:25:58 AM Posts: 3, Visits: 23 |
| | I want to draw a textbox at runtime using mouse. I know I hav to use MouseUp,MouseDown and MouseMove events to do this. But i cant find the way to set textbox's height and width. Can u plz help? |
| | | | 
Forum God

Group: Moderators Last Login: 2 days ago @ 6:29:46 PM Posts: 1,889, Visits: 5,254 |
| Welcome to A1vbcode chosen_1.  chosen_1 (6/15/2009) I want to draw a textbox at runtime using mouse. I know I hav to use MouseUp,MouseDown and MouseMove events to do this. But i cant find the way to set textbox's height and width. Can u plz help?I can't tell you in VB.Net but I can in VB6. 
Keith
I've been programming with VB for 15 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 8/5/2009 2:25:58 AM Posts: 3, Visits: 23 |
| | | | | 
Forum God
       
Group: Forum Members Last Login: 9/7/2010 12:29:54 PM Posts: 633, Visits: 1,019 |
| TextBox1.Size.Height(Height As Integer) TextBox1.Size.Length(Length As Integer) Those are the two sizing values for textboxes....so I imagine you'd get the current value in a mouse move event, and increment it by some value each time. That answer your question?
-Mobius |
| |
|
|