|
-
Dec 16th, 2002, 02:13 PM
#1
Thread Starter
Junior Member
I want to do a user-control like TextBox but with my features...
I want to do a user-control like TextBox but with my features...
How can I do it?
Thank you.
-
Dec 16th, 2002, 03:30 PM
#2
You make a Usercontrol and give it the same properties. Try the Wizard to get started. You can either draw it all yourself or just use the textbox in your usercontrol and add or map all the properties.
-
Dec 16th, 2002, 03:44 PM
#3
Thread Starter
Junior Member
Originally posted by Edneeis
...or just use the textbox in your usercontrol.
How to make it?
How can my UserControl inherit the TextBox's properties?
Thank you.
-
Dec 17th, 2002, 01:53 AM
#4
VB6 doesn't support inheritance but you can drag a textbox on to your usercontrol and then run the wizard to help you map the properties to your usercontrol. Unfortunately you'll need to add all the properties to your Usercontrol or it wont have them.
-
Dec 17th, 2002, 03:00 PM
#5
Thread Starter
Junior Member
Can I do it with MessageBox?
-
Dec 18th, 2002, 12:18 AM
#6
New Member
Start With ActiveX Control
You should work through this tutorial from Karl Moore. Learn how to create ActiveX controls, create properties & property sheets, handle events, package..etc.
In lesson 2 to 6 he uses the text box and examines some interesting topics. Karl also provides great examples, tips & resources...all with a bit of dry humor.
http://www.developer.com/net/vb/article.php/1539541
charcoal
charcoal 
-
Dec 18th, 2002, 12:57 AM
#7
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|