Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Which methods to use for a listbox?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01104865
Message ID:
01104989
Views:
18
>>So, are you saying that these events are independent on each other and the same code should be in both methods? Or could you please elaborate more on what do you mean? I put wait window in each of these methods and I see:
>>
>>InteractiveChange
>>Click
>>LostFocus
>
>
>Just an aside, using WAIT window for checking event firing is potentially problematic as the WAIT WINDOW itself can cause events to fire when they wouldn't otherwise. It is better to use DEBUGOUT and check the debugoutput window in the debugger. Not only does DEBUGOUT remove the introduction of additional events but if you mistakenly forget to remove it it has no impact on runtime.

Yes, I agree. On the other hand, does your observation also applies to WAIT WINDOW with timeout as I used?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform