Page 1 of 1
DblClick or Enter
Posted: Thu Jun 07, 2007 8:18 pm
by Ollie
Code: Select all
REDEFINE COLUMN BROWSE oListBox ID 40 OF oDlg_Search UPDATE ON DblClick somefunc()
When the user Double Clicks on a row somefunc() executes.
I want to execute somefunc() when the users presses ENTER (also)
How do I do it?
Posted: Thu Jun 07, 2007 9:18 pm
by EASYSOFT
oBrwp:bKeyDown := { | nKey | If( nKey == VK_RETURN .or. nKey == VK_ESCAPE, ;
oDlgperb:End(), Nil ), lOk := nKey != VK_ESCAPE }
Test This
Regards
_