Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tricky textbox scenario
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01199526
Message ID:
01199605
Vues:
23
>Are you sure you want to exit the form by placing 0 in the textbox? May be you just want to exit it by ESC?

THE USERS have always done it by entering a zero, then hitting return, so without upsetting too much, I thought I would eliminate them having to hit RETURN and having 1 keystroke do the trick.

>
>>If I may explain something as example, the user enters "666" in the textbox on form A and goes to an edit form B for job number "666" and does some editing. When done with Form B, control returns to Form A with the number "666" still showing. To close out Form A, user should be able to simply hit "0".
>>That last code you submitted looks like it should work except that, like I mentioned, this.value/this.text does not hold the value of the leading "0" just entered. I also have to keep in mind that the zero in job number 450 should not trigger. does this make sense?
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform