Hi all,

I'm developing a VB program that include MapInfo map.
I include a 'Line' button that allow user to create line on the map.
My code is as stated:
Private Sub cmdLine_Click()
    mi.Do "set map redraw off"
    mi.Do "Set Map Layer 1 Editable On"
    mi.Do "set map redraw on"

    mi.RunMenuCommand M_TOOLS_LINE
End Sub

However, I'm unable to create line.=20
The cursor doesn't change to '+' sign that allow me to create line.

Would appreciate if anyone could advice.
Thanks!

Best regards,
Ivy



_______________________________________________________________________
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