Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WHEN/VALID for a list box
Message
De
25/05/1996 21:39:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00001592
Message ID:
00001632
Vues:
33
>>I use the concept of when and valid events for
>>data validity
>>checks, but I have ran into a problem. On a list
>>box the
>>valid event never fires unless the person entered
>>the list.
>>If they just TAB through it the WHEN event fires,
>>but
>>the VALID event does not. I need the VALID event
>>to fire
>>in order to set up some process for the next
>>field. Can
>>anyone give me a way to get the VALID event to
>>fire
>>even when the user just TABs through.
>>
>>Thanks.
>
>Well if you want things to get deep quick then why
>not use the fields KeyPress event & trap the Tab
>key? Fire the valid manually if they hit Tab.
>
>Tom

How about the lost focus event. I tend to use GotFocus and LostFocus to replace the old When/Valid snippets
Allen Burlingame
Quarter Note Programming specializing in Visual Foxpro and
PowerBuilder Applications. Client Server Projects are what
we consider fun!
abgame@ni.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform