Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date in textbox
Message
De
20/04/1998 23:27:39
Michel Lalonde
Laboratoire Médical Biron
Lachine, Québec, Canada
 
 
À
20/04/1998 07:33:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00093234
Message ID:
00093570
Vues:
33
>The Error event is not fired for invalid dates.
>
>Vlad
>
>>Try using the Error Event for the textbox. You could find out what the error number is for the message you want to intercept and put your own message in there. Use the MessageBox() function for your own message in the centre of the screen.


Use the ON READERROR command with SET NOTIFY ON

Ex.

** Global setup
SET NOTIFY ON
ON READERROR MESSAGEBOX ("Le format de la date est invalide")
***

..

DO FORM ...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform