Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETFOCUS doesn't
Message
 
À
30/09/2004 16:07:49
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00947693
Message ID:
00947708
Vues:
19
Thanks....(Slap on Head) This this works better, and was indeed what I was originally thinking... I was playing with putting in a DoDefault(), and it didn't occur to try the NODEFAULT.
>Larry,
>
>Sometimes the valid event will cause an error so I still use the lostfocus event.
>
>CASE (CTOD(THIS.VALUE) > DATE())
>	MESSAGEBOX("Error in Date: Greater than current date.",16)
>     THIS.SetFocus
>     nodefault
>endcase
>
>
>
-- Larry Keyes
Remember only You can prevent Gray Goo. Never release nanobot assembers without replication limiting code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform