General information
Category:
ActiveX controls in VFP
>I am trying to figure out how to subclass OLE control. Here is the situation, I am using DBI Tech ActiveX listbar. It is currently inside a VFP native toolbar. I am trying to separate the two.
>
>I do have all OCX files that came with DBI Tech. Specifically the file ctlist.ocx. How do I subclass this OCX? so that, I can later instantiate it in the VFP toolbar programmatically?
>
It's been a while since I've done that but I recall that all you need to do is create a new class based on OLEControl, then when you click Ok it will ask you which OLE control to use and you find the listbar in the list.
You can use either "create class test as OLEControl" or use the new class GUI and select OLEControl from the drop down.
Ian
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only