MapInfo Pro Developers User Group

Expand all | Collapse all

MapBasic 'Run Menu Command ID' statement changed

  • 1.  MapBasic 'Run Menu Command ID' statement changed

    Posted 02-27-2019 08:19
    Hi,
    Previous in MB if you wished to run a MapInfo command to say set the 'zoomin' function you used:
    run menu command ID 1705

    In MIv17.0.2 this seems to now need you to omit the 'ID'
    run menu command 1705

    This can be seen using the MapBasic window in MapInfo.

    However MapBasic v17 still requires the 'ID' for it to compile if you wish to have a variable used for the button id.
    So I think you need to change your MapBasic code to:
    run command "Run  menu command " + iMenuID

    Any reason why the format of this has changed?
    Cheers
    David

    ------------------------------
    David Wilson
    Buchanan Computing
    London, UK
    ------------------------------


  • 2.  RE: MapBasic 'Run Menu Command ID' statement changed

    Pitney Bowes
    Posted 03-04-2019 19:26
    We are looking into this and will get back to you soon.​

    ------------------------------
    Bob Fortin
    Software Architect and Distinguished Engineer
    ------------------------------