MapInfo Pro Developers User Group

Expand all | Collapse all

Multi Page Layouts

  • 1.  Multi Page Layouts

    Posted 03-31-2020 01:31
    I'm looking at the multi-page layouts in Layout Designer. I want to add frames, vertically below the first page using Create Frame.
    This does position the frame below the paper, but no new page is added.
    Is there any undocumented page clause for Create Frame?

    The only support I have found to be added for multi-page layout designer in the Mapbasic user guide here -
    Set Layout Window FrontWindow( ) Page 1

    But the old way of setting multiple pages seems to be deprecated (I have no idea why the compiler still allows deprecated parameters...) -
    Set Layout Extents (3, 2)

    So, in summary, the 2 things I'm after is -
    1. Add a new page to the layout (the green + button on the UI)
    2. Insert a frame into a specific page in a layout Window.



    ------------------------------
    Joshua Knight
    Datamine
    Kew VIC
    ------------------------------


  • 2.  RE: Multi Page Layouts

    Posted 03-31-2020 05:40
    Hi Joshua

    You are looking for these statements:

    Adding a new page to the Layout (Designer) window
    Add Designer Page [ Window layout_win ]

    Change the Layout (Designer) to a specific page
    Set Layout [ Window window_id ] Page page_number

    Now you can insert your frame on the current page.

    ------------------------------
    Peter Horsbøll Møller
    Distinguished Engineer
    Pitney Bowes Software & Data
    ------------------------------



  • 3.  RE: Multi Page Layouts

    Posted 03-31-2020 18:27
    Thanks that works

    ------------------------------
    Joshua Knight
    Datamine
    Kew VIC
    ------------------------------