Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is valid event?
Message
De
12/04/1999 21:40:02
Chong Hanwah
Apic Systems Pteltd
Singapore, Singapour
 
 
À
12/04/1999 09:36:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00207372
Message ID:
00207671
Vues:
10
>>I had created a class method which setfocus to the
>>first control of a form. But this method will give
>>error if called within the 'valid' event.
>>
>>So how do i check whether the calling
>>event is a control's 'VALID' event?
>>
>>thanks.
>
>You can't set focus from the valid event. As Bruce said, use the lostfocus.

Actually, i am creating a generic class method but
user may use it in the valid event
=> I need to check for valid event in my class so that
if in valid event
do not do the setfocus()
endif

but my question is how in the code can i check that it is calling
from valid event?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform