>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