Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding Events?
Message
 
 
À
26/04/2000 02:38:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00363461
Message ID:
00363478
Vues:
14
>Hi:
>
>In VFPCOM there is a method to Bind events.
>What does Binding Events do?
>
>TIA
>
Mal,
You can create VFP objects with methods with the same name as those of ActiveX COM objects. When you bind these two objects together, code in your object will run.

A good (IMO) application for this is version independence. If you drop an ActiveX control on a form, the end user must have the same version of the ActiveX control or errors can occur. With BindEvents, you AddObject() the end usre's vesion of the control to your form and bind its events to a custom class already on the form.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform