|
-
Jul 29th, 2002, 12:40 PM
#1
Thread Starter
Lively Member
-
Jul 29th, 2002, 01:41 PM
#2
Are you talking about VB6? No properties are added by default when making a user control. If you used the Wizard then the wizard ma have added them but you can either use the wizrd again and remove them or just delete the code for them.
-
Aug 3rd, 2002, 04:11 AM
#3
Thread Starter
Lively Member
hi Edneeis,
thanks for the reply, I am using VB6 and did not use the wizrd. What I mean is that I want to remove dome of the default text box properties from my control which incorporates text boxes, any idea on how to do this??
thanks
john
-
Aug 3rd, 2002, 04:39 AM
#4
BY default if you make a UserControl and put control on it (i.e TextBoxes) it doesn't expose the properties of those control nested in your usercontrol. In fact none of them are exposed, unless you expose them by mapping them to the nested control's properties or manually write the code.
So if I make a new usercontrol and stick a textbox on it that doesn't mean that my control has a text property or multiline or any of those. Unless of course I added them through code.
-
Aug 4th, 2002, 08:22 AM
#5
Thread Starter
Lively Member
Edneeis,
thanks for clearing that up, I understand now
cheers
john
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
|