Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Olaf Doschke
  Where is Olaf Doschke?
 Hamburg
 Germany
 Olaf Doschke
 To: solomon sackey
  Where is solomon sackey?
 texas
 Texas - United States
 solomon sackey
 Tags
Subject: RE: INCREMENTAL SEARCH BY NAME
Thread ID: 224871 Message ID: 224878 # Views: 28 # Ratings: 0
Version: Visual FoxPro 6 Category: Databases, Tables and SQL Server
Date: Thursday, April 16, 2009 9:34:28 AM         
   


> An incremental search button call a pageframe with 2 pages.
incremental search means while you type
a search pattern a list will only display
matching rows. There are variations eg
with incremental search listbox/combobox
the list does not get filtered but you
will positoin on the maching row.

But what is an incrmenatal search button?

> 1. I have set the activepage on the pageframe to page 2, so that when a user clicks on the button
> focus should be set to the second page of the pageframe.
> However the list box in the second page which has to order by name is not ordered as expected.

Do you specify the same table as the rowsource of the listboxes?
Then setting order in the vmaster will order both listboxes the same.
You'd only need to SET ORDER TO what you want in the Activate event of the
pageframes.

> I have the following program in the calling button LOSTFOCUS PROCEDURE .
Are you sure you want that code to run when the button looses focus?
Or when it is clicked? Therefore you have the CLICK event.

Bye, Olaf.



COMPLETE THREAD
INCREMENTAL SEARCH BY NAME Posted by solomon sackey @ 4/16/2009 8:39:18 AM
RE: INCREMENTAL SEARCH BY NAME Posted by Bhushan Sahni @ 4/16/2009 8:46:07 AM
RE: INCREMENTAL SEARCH BY NAME Posted by Ammar Hadi @ 4/16/2009 9:22:17 AM
RE: INCREMENTAL SEARCH BY NAME Posted by Olaf Doschke @ 4/16/2009 9:34:28 AM
RE: INCREMENTAL SEARCH BY NAME Posted by Anders Altberg @ 4/16/2009 12:37:50 PM