Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing OLE control
Message
De
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:
01660558
Vues:
78
This message has been marked as the solution to the initial question of the thread.
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform