Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The simplest form appears not to be simple
Message
De
15/02/2001 13:27:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
The simplest form appears not to be simple
Divers
Thread ID:
00476389
Message ID:
00476389
Vues:
61
Hi. I am desgning a form. The sole control on the form is a combo box.
I want my user to mouse click on their option OR press the 1st letter with the keyboard. I am using "\<" in my row source.
I tried placing code in the keypress, but it seems to fire as the form opens (my "invalid entry" messagebox fires as the form loads)

Seems as if would be a simple task, but I have spent several hours on it, getting erratic behavior every time I try something different.

What I would like to know:
1. where to put code to validate my user keyboard input
2. where to put code to close form when
a. Key Pressed
b. Mouse clicked

Thanks, Randy
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform