I just implemented an incremental search in a data grid. It finds the record and brings the newly found record to the top of the window as you type in characters. Is that what you mean?
I add a column called myRow to the table and populate it as a 1 up serial. Then in the KeypressUp event of the textbox (this is off the top of my head. If you need the specific code, I can send it tonight):
DataRow[] dra = myDataTable.Select("Name LIKE '" + textbox.Text.Trim() + "%'";
if (dra != null && dra.Length > 0)
{
this.myGrid.CurrentRowIndex = Convert.ToInt32(dra["myRowCount"]);
this.myGrid.Select(Convert.ToInt32(dra["myRowCount"]);
}
this.SetFocus(this.textbox);
>Is there an equivalent property/method/technique to using the IncrementalSearch property in VFP on a Listbox?
>
>Richard