Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to disable tab key
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00124536
Message ID:
00124909
Vues:
28
>the form is a simple ordering system. Required: Base PN#(1-3 choices), 2ndary PN#, and then Qty. The BASE PN# choices are represented by a 3 button cmdgroup, the 2ndary PN# and qty by textboxes. On the form there's 5 cmdbuttons, some labels, & 2 textboxes. While textbox1(2ndaryPN#) is the focus, the user is required to enter value. At this point if he clicks on a cmdbutton, it screws up the logic of how the form is supposed to work. After the user hits ENter on textbox1, textbox2 opens for input(qty). Textbox1 opens a dbf and displays the match via a label, textbox2 activates a listbox for running shopping list.simple enuf?

Well, not exactly SIMPLE, Timothy,

1. If you have only 3 choices for Base PN#, then you should be using radio buttons.

2. I'd write a form method disabling and enabling the cmdbuttons. The disable version would be called when either textbox1 or textbox2 is live. Re-enabling is called from the VALID or LOSTFOCUS methods, but ONLY if there were good values in both textboxes.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform