Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP COM Utility released
Message
De
16/04/1999 15:50:44
 
 
À
15/04/1999 16:13:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00208390
Message ID:
00209162
Vues:
30
Hi Bob.

>The difference here seems to be, that I create a class (which is not a subclass) of the TreeView. In that class I create Methods the mirror all the Events in the TreeView. When a treeview event fires it will also fire that event in the class I have created as a BindEvents class.

Yup. That's what so cool about this. You don't have to create a TreeView control subclass in a PRG -- you just instantiate a generic one and let all its events be managed by another object.

>But, I assume there are COM objects that you can not drop on a form and get to the events in the property sheet?

The object doesn't have to be dropped on a form. For example, you could instantiate Word and then get notified of its events by binding Word to an object via VFPCOM.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform