Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing OLE control
Message
 
 
À
05/06/2018 00:58:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01660554
Message ID:
01660565
Vues:
49
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform