MapInfo Pro Developers User Group

Welcome to the MapInfo Pro Developers community!  We are a group dedicated to the discussion and understanding of MapBasic and .Net MapInfoPro AddIn development. Bring your questions and ideas here. This group includes several members of the Pro development team from around the world.

Please feel free to start a discussion in the discussion tab or join in a conversation.

Product Information  Ideas Portal  MapInfo Community Downloads

Discussions

Members

Resources

Events

 View Only

How can I delete a text box using mapbasic? I used to write something like this Delete from Layout1 where rowid = TableInfo(Layout,8)

  • 1.  How can I delete a text box using mapbasic? I used to write something like this Delete from Layout1 where rowid = TableInfo(Layout,8)

    Posted 11-27-2017 05:22


  • 2.  RE: How can I delete a text box using mapbasic? I used to write something like this Delete from Layout1 where rowid = TableInfo(Layout,8)

    Employee
    Posted 11-27-2017 14:05
      |   view attached

    Hi Armando,

    Thanks for posting!

    For my example

    1.)I opened up MapInfo Pro 16

    2.) Make sure to show the MapBasic Window. Home > Tool Window > MapBasic

    3.) Click on Layout > New Layout > Click on Insert Text button and select anywhere to type a textbox example.

    4. In the MapBasic Window, the syntax should be for Legend frames.

    You can use a similar statement:

      Remove Designer frame Window frontwindow() id 1

    example

    @Alicia Levesque? for helping me look this up!