Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using the enter key as the selection of list item
Message
De
24/09/1998 11:30:10
 
 
À
24/09/1998 10:55:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00140093
Message ID:
00140394
Vues:
26
>Hi,
>I have two command buttons on the form and both default are set to .f.
>I'll try to explain a little better. When the list box has focus the first column is highligthed in row one. When I use the enter key the second column of the first row is highlighted (focus just moved over one column). What I'd like to happen is - when I use the enter key the form is released and the highligthed row infomation is transfered to the unload method (which is the normal way it works when I use a command button to release). Since the form has a keypress method -- is that where I should check for the enter key? If I do use the form keypress method does the unload method contain the list box information?????
>
>John

Why don't you put code in aq command button that loads the listbox data into a form property and calls THISFORM.Release. Then in form.Unload, return the form property. If you don't want the command button to show, move it off of the screen.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform