Highlight one line in a DBGrid


2008-02-17 11:30:39 AM
cppbuilder107
Hi,
I use the following code to help the user find a company in a DBGrid using a keyword
OptsSearch.Clear();
OptsSearch << loPartialKey;
Table1->First();
Table1->IndexName="CompanyIndex";
Table1->FindNearest(ARRAYOFCONST((Edit1->Text)));
Does anyone know how to highlight (put it in diffrent color) the line that the Table cursor points at (the closest match)
Many thanks
Rob