|
-
Dec 19th, 2000, 11:20 AM
#1
Thread Starter
Evil Genius
Here's the plan, I created a custom activex control in vb.
I then started an *.exe project & inserted the control on the form.
The question - how can I call on the controls on the activex control - i.e. if there's a text box on the activex control, how do I say something like:
Code:
Private sub command1_click()
Msgbox activexcontrol1.text1.text
End Sub
I can get a list of properties for the control, but can't see the text box in this! Thank you
-
Dec 19th, 2000, 11:47 AM
#2
Fanatic Member
You will have to expose the child control properties required through a new property in the propertybag of your new control.
Use the ActiveX Ctrl Interface Wizard then the Property Page Wizard.
-
Dec 20th, 2000, 03:31 AM
#3
Thread Starter
Evil Genius
Ahhhh, that's brilliant thanks Jerry!
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
|