I have made some more "research" on this issue and I found x,y koordinates
are the same in both cases.
but still if no map zooming SearchInfo() gets index of found object (this
case = 1), but if before I call SearchInfo I use map zooming, although x,y
are the same SearchInfo() gets back 0 for me (has not found the object).

I am totally confused! Please anyone explain the reason of this problem.

Thank you.

George

----- Original Message -----
From: "rugo" <[EMAIL PROTECTED]>
To: "Mapinfo-L (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, January 13, 2004 10:37 AM
Subject: MI-L strange SearcPoint situation


> I am creating an application in VB6.
> In it I use SearchPoint() and SearchInfo() to get info about objects
clicked
> on it by mouse.
>
> Situation is very strange and I can not find the reason of this:
> If in my app I open a map and
> I use SearchPoint (with x,y of mouse click exactly on existing object)
> searchpoint gives me the number of found object and with SearchIInfo I get
> necessary info. It is OK, this is what I expect.
>
> If I open the map and first I use M_TOOLS_EXPAND (MapInfo.runMenuCommand
> M_TOOLS_EXPAND) to zoom-in the map and I click exactly on the existing
> object ,SearchPoint gives back me zero, seems to be does not find the
> object!
> (Seems to be zoom-in makes wrong the x,y positions?!)
>
> Any idea would be very appreciated.
>
> Thank you in advance
>
> George
>
>
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 9969
>
>
>



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 9972

Reply via email to