Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the enter key as the selection of list item
Message
From
24/09/1998 11:30:10
 
 
To
24/09/1998 10:55:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00140093
Message ID:
00140394
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform