Dear Sir,
There is text1 and list1 on form. To search any name I write characters in text1.value, for example if want to search all of the names that contains "Eric" then I write Erice in text1.value. As a result all matches display in list1 such as Eric den doop, Danial Eric etc.
Now the question is to highlight all matching word "Eric" in listbox.
Highlight mean select or color change or fontbold of matching word in every recrod of listbox.
Is it possible?
Following are the codes which I use
*---------------------------------------------------
SNAME=ALLTRIM("%")+ALLTRIM(THISFORM.TEXT1.VALUE)+ALLTRIM("%")
SELECT CODE,DESC FROM MASTER;
WHERE LEN(ALLTRIM(STR(CODE)))=6 .AND. DESC LIKE SNAME;
ORDER BY DESC;
INTO TABLE D:\System\TEMP\TEST
THISFORM.LIST1.ROWSOURCE = "TEST"
THISFORM.REFRESH
*---------------------------------------------------
Please help