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
  • 1.  Assign 'Frame Name' via the Layout Designer Frame property

    Posted 03-07-2018 15:34

    Is there any way we could assign the 'name' property to a frame added into a new layout designer window?

    Currently if you get the properties of a frame it only has the location, height, width, rotation and style.

    You can assign a 'name' when you create a frame programmatically and these are then saved into a workspace. But I can't see a way of adding frames with a specified name.

    Thanks

     



  • 2.  RE: Assign 'Frame Name' via the Layout Designer Frame property

    Posted 03-07-2018 10:51

    Hi David,

    You are correct in that any of the Mapbasic statements that add content to the Layout Designer include a Name clause. This includes Map From, Browse From, all of the Create statements like Create Text, etc., Add Image. Each frame of a Create Designer Legend also supports a Name clause.

    Once a frame is created, you can use the Alter Designer Frame Id id Name "new name".

    In beta 2 for version 17.0 the Frame Properties dialog now also includes a control to let you edit the frame name in the GUI.

     



  • 3.  RE: Assign 'Frame Name' via the Layout Designer Frame property

    Posted 03-07-2018 10:55

    Hi Michele, I'll try that out. We want to update our Print Templates to try and make use of these frames and it's easier if we could identify them via the frame name.

    Thanks



  • 4.  RE: Assign 'Frame Name' via the Layout Designer Frame property

    Posted 04-30-2018 13:03

    Hi Dave,

    I wanted to follow up about another question you asked related to Alter Designer Frame in a separate email exchange we had several months ago. You noticed in the beta for version 17.0 that you couldn't adjust the angle of True Type symbols using Alter Designer Frame Id id Angle angle. We have since added that support for version 17.0 so give it a try and let us know if you have any problems. Thanks.

    Michele