Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to detect user change in text field
Message
 
À
27/01/1999 19:15:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00180708
Message ID:
00181135
Vues:
18
>>>I believe in 2.6 valid didn't run unless that value in the object actually changed. I know in a browse you could use the :F to force valid to fire every time.
>>>
>>>Is this true of VFP, or does valid ALWAYS fire when moving off a object?
>>>
>>>BOb
>>
>>Only partly true in 2.6. In 2.6, the valid for a BROWSE column didn't fire unless the user made a change, unless you defined the column using :F (force validation). Valid always fired on leaving a GET, whether or not a change was made.
>
>One more distinction: Valid in 2.6 didn't fire if user pressed ESCape, now we have to mess around with LastKey() to check for it.

That's funny ... I always had to check LASTKEY() for Escape in 2.6. Is it possible you're thinking of an earlier version?
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform