Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing ActiveX Excel Worksheet
Message
 
 
To
18/05/2007 10:13:48
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Miscellaneous
Thread ID:
01226331
Message ID:
01226730
Views:
21
This message has been marked as the solution to the initial question of the thread.
>>>>In the Create class dialog choose Ole Control. Then choose your control.
>>>
>>>Choose from where ?
>>>I hv to point to ocx file where acitivex is stored ?
>>>
>>>
>>Yes. You have to choose the right ocx in the new dialog.
>
>Tried that / no joy :(
>
>Create class dialog does not accept ocx to be selected
>but only vcx. Unless I am doing something wrong.
>I switched from VCX filtering of files to *.* for all files
>but still cldnt select OCX and get activex subclassed.
>
>In the meanwhile I found alternative solution how to achieve what I want :)
>
>
>Will try dialog again to see if I did something wrong.
>Thks++

I think you misunderstood me or vs. versa. You asked how to subclass ActiveX control in VFP. I'm saying, that in CREATE CLASS dialog (or from menu New class) you need to select Ole Control as a base class for your new class. Then you will be presented with a new dialog where you should pick the appropriate ActiveX to be subclassed. Then you type the name of the class library as you do usually.

That's it.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform