Sang You need to reference the row in the table, not your variable. The variable hasn't changed. MapInfo doesn't have an 'object model' for map features - once the value has been passed into the table using 'insert' then the variable no longer has any sort of handle on it.
To get the row in the table the user has just moved make sure they use a custom tool so you can getone of the 'commandinfo' return values, or use SelectionInfo statements. HTH Paul Crisp Syntegra Innovation Place Delta Bank Road Newcastle NE11 9DJ Tel 0191 461 4522 Fax 0191 460 1987 -----Original Message----- From: Sang Wang [mailto:[EMAIL PROTECTED]] Sent: 29 November 2002 00:33 To: [EMAIL PROTECTED] Subject: MI-L To get position of user-moved object I'm using integrated mapping and VC++. Several point objects are created into variables, and then inserted to a table. The objects are designed to be able to be moved by selecting and dragging in the map window. Now I found that when you try to get the object position by calling ObjectGeography and referenceing the variable, the new position after dragging is not reflected. How can the variable be updated to represent the moved object? Thank you. Wang Sang [EMAIL PROTECTED] GVU Center, College of Computing, Georgia Tech. Atlanta, Georgia 30332 _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 4328 ******************************************************************** This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ********************************************************************
