Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Major Bug - BINDEVENTS
Message
From
23/12/2004 16:10:01
 
 
To
23/12/2004 15:44:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00971680
Message ID:
00971928
Views:
33
>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform