MapInfo Pro

Retrieve object created with RibbonToolButton

  • 1.  Retrieve object created with RibbonToolButton

    Posted 01-17-2020 07:04
    Hello,

    I have created Ribbon tool buttons (using C#) to draw different objects (points, lines, polylines...). Is there any way to get created object?

    Something similar to MapBasic commands CommandInfo(CMD_INFO_CUSTOM_OBJ/CMD_INFO_X/Y) but within same C# code.
    I know I could call  a MapBasic subroutine (myToolButton.CallingHandler = "GetObjectMBX") and from there get created object , but there are some object topology checks before inserting object into table I would like to carry out.




    ------------------------------
    Marijan

    ------------------------------