Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing a ListBox
Message
De
12/08/1997 16:42:56
 
 
À
12/08/1997 16:29:31
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00044320
Message ID:
00044324
Vues:
24
>I have in my application many "codeboxes." This is a textbox where a user enters a code that corresponds to a table of codes and values. RightClicking on such a codebox brings up a ListBox of acceptable values. The ListBox is removed in its Valid or LostFocus Event. A problem arises when the user doesn't want to select a value and just wants to close the ListBox. Clicking on just any part of the form won't work because the ListBox can only lose focus if another object gets the focus. Hitting the ESC key, which might seem natural, also won't close it. Any suggestions?
>
>Thanks
>Elyse

You can intercept any keyboard key (including ESC) using Form.KeyPress event. However, may I ask you a question? What does prevent you from using one single combobox to get described functionality?
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform