Page 1 of 1

How to invoke a function on pressing Enter in TwBrowse ?

PostPosted: Fri Mar 03, 2006 2:59 pm
by Milan Mehta
Dear All,

How can I invoke a function on Pressing Enter in TwBrowse ? My following code do not seem to be working.

oBrw:bKeyChar = { | nKey | IF (nKey == 13, MyFunc(),) }

Can anybody guide me ?

TIA
Milan.

Re: How to invoke a function on pressing Enter in TwBrowse ?

PostPosted: Fri Mar 03, 2006 3:27 pm
by Enrico Maria Giordano
Code: Select all  Expand view
oBrw:bKeyDown  = { | nKey | IF (nKey == 13, MyFunc(),) }


EMG

Re: How to invoke a function on pressing Enter in TwBrowse ?

PostPosted: Sat Mar 04, 2006 4:34 am
by Milan Mehta
Dear Enrico,

Yes it works. Thanks a lot.

With best regards,

Milan.

EnricoMaria wrote:
Code: Select all  Expand view
oBrw:bKeyDown  = { | nKey | IF (nKey == 13, MyFunc(),) }


EMG