Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access props/methods/event of ActiveX Custom Control from Form

Status
Not open for further replies.

dario123

Programmer
Dec 10, 2000
4
0
0
GB
how can I access properties of a activex customer ocx control from a form on the same project.

for instance, in the same project there is also a classmodule (called Class) and I do

Class.Property1
Class.Subprocedure


but what do I have to do to access the control´s properties, methods and events? I have also tried to instanctiate the objects of the control and I can´t. Is ok, if i instanctiate the objects of the class...

Please help if you know. I Will really appreciate!
 
As far as I was aware, you can only do this from a form in another project where the control has been placed on the form in the same way as a text box, for example.

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top