FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour DblClick or Enter
Posts: 233
Joined: Sat Dec 30, 2006 06:10 AM
DblClick or Enter
Posted: Thu Jun 07, 2007 08:18 PM
      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?
Many thanks

Ollie.



Using:

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6406)

Borland C++ 5.5.1

FWH 9.04 (2009 Apr)
Posts: 195
Joined: Sat Oct 22, 2005 01:17 PM
DblClick or Enter
Posted: Thu Jun 07, 2007 09:18 PM

oBrwp:bKeyDown := { | nKey | If( nKey == VK_RETURN .or. nKey == VK_ESCAPE, ;
oDlgperb:End(), Nil ), lOk := nKey != VK_ESCAPE }

Test This

Regards

Oscar

Saludos

Oscar

Fwh 23.10, bcc55

Continue the discussion