Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact
A1VBCode Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      

Home » .NET Programming » Visual Basic .NET » drawing textbox


drawing textboxExpand / Collapse
Author
Message
Posted 6/15/2009 12:35:16 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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?
Post #27797
Posted 6/15/2009 7:07:11 AM


Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum 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.
 
Post #27798
Posted 6/16/2009 3:13:10 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/5/2009 2:25:58 AM
Posts: 3, Visits: 23
Ok, I want to know that
Post #27802
Posted 6/29/2009 3:39:06 PM


Forum God

Forum GodForum GodForum GodForum GodForum GodForum GodForum GodForum 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
Post #27850
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin, Mod

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 6:52pm