| | | 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: Forum Members Last Login: Today @ 11:19:17 AM Posts: 1,795, Visits: 4,572 |
| 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 http://www.martin2k.co.uk/forums/index.php?act=idx I've been programming with VB for 14 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: 6/4/2010 11:22:33 AM Posts: 633, Visits: 1,018 |
| 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 |
| |
|
|