ShowFindDialog always returning null

JimColeman
01-03-2008, 04:34 PM
Why is it that ShowFindDialog is always returning nul??

When this code runs:

object loc = mapDisplay.ActiveMap.ShowFindDialog( where, GeoFindState.geoFindDefault, this.Handle.ToInt32(), true );

loc is always null! Even when I select a good address.

Oh and the AutoConfirmExactMatch = true doesn't seem to be working right either.

Can anyone help me?

Thanks,
Jim

Wilfried
01-08-2008, 12:46 PM
Hi,

Maybe a bug? Quick workaround is make a find form yourself and use FindAddressResults to get it. Works always :)

JimColeman
01-08-2008, 12:49 PM
Yeah I was hoping to not have to create my own UI espeacially since MapPoint has pretty nice one, butthats what I ended up having to do, oh well.

Thanks for the help.
Jim

 
Web mp2kmag.com
mapforums.com