Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which methods to use for a listbox?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01104865
Message ID:
01104989
Vues:
16
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform