Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving Controls at Runtime
Message
 
To
17/08/2004 22:19:14
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00933307
Message ID:
00934401
Views:
25
This message has been marked as the solution to the initial question of the thread.
Yes you can. You just have to register the event handlers manually instead on having Visual studio do it for you. The code from my previous post will work fine, you just have to add this after you create the TextBox:
this.textBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.textBox1_MouseDown);
this.textBox1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.textBox1_MouseUp);
this.textBox1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.textBox1_MouseMove);
---
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://www.msmvps.com/windsor
http://www.g6consulting.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform