LPARAMETERS nKeyCode, nShiftAltCtrl IF LASTKEY() = 13 wait window 'Enter key pressed' DO ThisForm.Commandgroup1.Command1 ENDIFI know the DO command isn't going to DO it, but put it there to ask the question :) Would this (ClickEvent of the 'Find' button) have to be a PROCEDURE for in order to do the DO? The reason for this is to go faster, click on Enter while in the textbox instead of mousing it over the 'Find' or TABing.
thisform.list1.selected(1)=.t.(check first, if you have records in a listbox, of course - I added check by _tally)