Highlight all pushpin in dataset?

Kevin_Williams
12-20-2006, 01:19 PM
Is there an easy way to highlight all the pushpin in a dataset?
Currently, I'm doing the following

MapPoint.Recordset rs = objDataSet.QueryAllRecords();
rs.MoveFirst();
while (!rs.EOF)
{
rs.Pushpin.Highlight = true;
rs.MoveNext();
}
rs = null;

Wilfried
12-21-2006, 05:47 AM
Hi,

Yes that's the correct way to do it.

 
Web mp2kmag.com
mapforums.com