>>>>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