Hi all,

I'm developing a VB application that include elements of MapInfo, =
integrated mapping.
I manage to display the MapInfo map(polylines & lines) in my =
application.
When I click/double-click on the object(pline/line), I must be able to =
get the start & end nodes(coordinates).
How do manipulate MapInfo to return the coordinates of the selected =
object when I click/double click?
I know that I can use 'callback' but I keep having=20
"A property or method call cannot include a reference to a private =
object, either as an argument or as a return value (Error 98)" error =
when I execute "mi.SetCallBack cbobject" .

I've look through the Integrated Mapping Examples on the site. =
http://testdrive.mapinfo.com/tdc/home.nsf/c3d4b43ae3050d7d8525647900631dd=
3/14fe9007ebf59f5085256488006f9ced?OpenDocument=20
I referred to the example that use SetStatusText OLE CallBack method to =
return current screen coordinates and map zoom.
I tried to run the program but I actually have the same error.

I'm new to MapBasic.
Would appreciate if anyone can advice me.
Thanks!

- Happy :)
=20



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to