Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dragover and calling another method problems
Message
From
29/05/2006 16:24:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01125469
Message ID:
01125705
Views:
19
>All it does is called the code in event w/o triggering event, which is not a good idea in the first place. See >http://fox.wikis.com/wc.dll?Wiki~MethodsShouldNeverCallEvents

I disagree with this theory -- methods can not call or trigger an event. Events trigger methods. The Click() code contained in an object (form, control, etc) is not the event -- it is the method code called as a result of the event. Calling one object's Click() code from another object's method code is no different than calling a custom named method. The actual event (in this case, button click) is not raised by one method calling the click() code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform