Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forcing A value from a text box
Message
De
01/02/2002 10:56:49
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00613826
Message ID:
00614049
Vues:
26
Thanks for the idea Jim, you have set me on the correct path.

Regards,
Carmen
>>Thanks I will incorporate the return .f.
>>
>>Carmen
>
>Carmen,
>
>If you return .F. from the textbox's Valid the user won't be able to exit the form unless they enter a good order number. You could simply add a Proeprty to your form, perhaps named GoodOrdNum. Then in the Valid of the order number textbox you put Thisform.GoodOrdNum = .T. or .F. accordingly. In the WHEN of all controls except the Cancel button you put Thisform.GoodOrdNum and you're done. The textbox wonj't prevent them from using the Exit or Cancel button and no other control will accept focus until the order number is validated by the textbox.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform