Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change location of system generated WAIT WINDOW?
Message
De
28/02/2005 07:41:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00991080
Message ID:
00991133
Vues:
17
a solution would be:

a) SET CONFIRM OFF
This way you don't get that system wait window. Maybe only do so in the gotfocus event and put it back ON in the lostfocus event.
b) Validate the date yourself in the valid event of the textbox.
Untested code:
if empty(ctod(this.text)) or isnull(ctod(this.text))
   messagebox("wrong date entered!",16,"Input Error")
   return 0 && stay in the textbox
endif
return 1 && tab to the next control
Bye, Olaf.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform