PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Petrus Vorster on March 27, 2014, 03:13:15 AM

Title: Clearing existing Row-select in Listview
Post by: Petrus Vorster on March 27, 2014, 03:13:15 AM
I have a listview on a form. I also have a find function from a textbox to find a specific entry in a listview with many entries.
A simple INSTR search.
I then use the FF_Listview_setselecteditem to  hightlight the first found line in the listview.
But it doesnt remove the previously selected rowselect if the user previously selected a line in the listview.
See image.
How does one clear the previous selected row?
(//)
Title: Re: Clearing existing Row-select in Listview
Post by: Petrus Vorster on March 27, 2014, 03:14:26 AM
Hmmm cant upload the image....
Title: Re: Clearing existing Row-select in Listview
Post by: Israel Vega Alvarez on March 27, 2014, 04:02:10 AM
May be you need activate LVS_SINGLESEL in WindowStyles.
Title: Re: Clearing existing Row-select in Listview
Post by: Petrus Vorster on April 14, 2014, 06:07:35 AM
What will I ever do without you guys on this forum?

Thanks a million, I overlooked that!!!
;D