Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus in VALID sometimes works!?
Message
De
04/06/2001 23:43:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00514105
Message ID:
00514935
Vues:
14
>>The VFP doc says that one cannot SETFOCUS in a VALID, RANGE-HIGH/LOW, etc. And yet, I have a form where I accidentally did this and Lo! it works most of the time, but fires an error "cannot setfocus in valid, ..." some of the time. I actually stepped through the code in VALID and watched it pass right over the SETFOCUS.
>
>Arne;
>
A case in point - I had one hidden in there by mistake... the code kept executing... on the surface... the user kept working.... on the surface...
everything BUFFERED... completely... over 100 entries... the user shutdown for lunch.. came back... voila!!! no data from the previous hour was saved... it was not a 'hard' error - it was not reported to the errorhandler because it was not reading the code line... took me some time to track down that one...

SET FOCUS and VALID do not mix - EVER...

Just my 0.02....

Ric
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform