Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing OLE control
Message
 
 
To
05/06/2018 00:58:54
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01660554
Message ID:
01660565
Views:
48
>>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

Yes, this is what I was looking for. Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform