Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: suhas hegde
  Where is suhas hegde?
 sirsi
 India
 suhas hegde
 To: John Pitt
  Where is John Pitt?
 BMT
 Vietnam
 John Pitt
 Tags
Subject: RE: Search in table browser
Thread ID: 155083 Message ID: 155094 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Monday, December 24, 2007 3:10:20 PM         
   


> The issues is:
> - I define the window named M_WINBRW
>
DEFINE WINDOW m_winbrw  FROM  0, 0 TO SROWS(),  SCOLS() FONT 'arial' GROW FLOAT CLOSE ZOOM 

>
> - use table named : ACC_LIST.DBF (acc_code,acc_name,date,time,...)
>
USE acc_list.dbf  NOUPDATE
> 

> - i browse that table on M_WINBRW
>
BROWSE  NAME oBrowse  NOAPPEND NODELET TITLE "Search code by keypress ???" WINDOW M_WinBrw 

>
> The question is : how to search the ACC_CODE and the record highlght will be move to that match by pressing keyboard at the runtime? (no use CTRL+F)! (like keypress in form)
>
> Here is my code: http://www.nowupload.com/:NPG
>
> Thanhks.


It might just be possible.

That is if you have a Find in the menu

You can simply try with

Try with ctrl+F in the browse


BROWSE  NAME oBrowse  NOAPPEND NODELET TITLE "Search code by keypress ???" WINDOW M_WinBrw 
Set sysmenu to default
USE acc_list.dbf  NOUPDATE
BROWSE  NAME oBrowse  NOAPPEND NODELET TITLE "Search code by keypress ???" WINDOW M_WinBrw 




Hths
Suhashegde

ENTIRE THREAD

Search in table browser Posted by John Pitt @ 12/24/2007 12:41:09 PM
RE: Search in table browser Posted by Mike Gagnon @ 12/24/2007 12:53:53 PM
RE: Search in table browser Posted by John Pitt @ 12/24/2007 1:05:25 PM
RE: Search in table browser Posted by Mike Gagnon @ 12/24/2007 1:32:04 PM
RE: Search in table browser Posted by John Pitt @ 12/24/2007 2:31:41 PM
RE: Search in table browser Posted by Mike Yearwood @ 12/26/2007 5:33:11 AM
RE: Search in table browser Posted by Ken Murphy @ 12/24/2007 1:37:30 PM
RE: Search in table browser Posted by suhas hegde @ 12/24/2007 3:10:20 PM
RE: Search in table browser Posted by Mike Gagnon @ 12/24/2007 9:47:54 PM
RE: Search in table browser Posted by suhas hegde @ 12/25/2007 4:35:41 AM
RE: Search in table browser Posted by Mike Gagnon @ 12/25/2007 1:38:53 PM