More on browsing.

More on browsing.

Postby HunterEC » Fri May 30, 2008 3:41 pm

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. :)
HunterEC
 
Posts: 723
Joined: Tue Sep 04, 2007 8:45 am

Re: More on browsing.

Postby Enrico Maria Giordano » Fri May 30, 2008 4:00 pm

Code: Select all  Expand view
oBrw:bKeyDown = { | nKey | YourFunction( nKey ) }


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 7 guests