Information générale
Catégorie:
Contrôles ActiveX en VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement