Page 1 of 1

More on browsing.

PostPosted: Fri May 30, 2008 3:41 pm
by HunterEC
Antonio:

How do I setup a TBrowse that passes control to a user defined routine until the user presses a key ? I set up this in Clipper via a Tbrowse in the following way: if the user presses Ins goes to add a new record, Enter goes into Edit mode, etc. Finally when the user presses Esc exits the TBrowse. Typing the key or part of the key the TBrowse does an incremental lookup while the user type.

Which type of TBrowse (best functionality/speed) do you recommend for this task ?

Thank you in advance. :)

Re: More on browsing.

PostPosted: Fri May 30, 2008 4:00 pm
by Enrico Maria Giordano
Code: Select all  Expand view
oBrw:bKeyDown = { | nKey | YourFunction( nKey ) }


EMG