Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Major Bug - BINDEVENTS
Message
De
23/12/2004 16:10:01
 
 
À
23/12/2004 15:44:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00971680
Message ID:
00971928
Vues:
34
>>You should never write code like your example. You should always use the "2" flag of BindEvent() and then use RaiseEvent() to actually call the event.
>
>I disagree. Circumstances vary on how BindEvents is used.

Let's just make it clear that there are two ways to use BindEvent():

1. To encapsulate the functionality of your classes during design
2. To extend the functionality of your classes as an after thought

In my experience, and especially in the designing of a framework which I think is your current task, you shouldn't be using #2.

So #1 is the game. With that said, what type of circumstances do you have in mind?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform