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.  Adding a splitbutton to the minitoolbar in MI 64bit

    Posted 05-04-2018 10:57

    Has anyone managed to add a split button similar to the MapSelectionToolsSplitButton which has the 'select', 'radius,marque,regions' selection buttons.

    I've been using Peter's Ribbonlib for creating all the menus and buttons but can only add 2 small buttons per stack.

    Cheers

    David



  • 2.  RE: Adding a splitbutton to the minitoolbar in MI 64bit

    Employee
    Posted 05-04-2018 09:19

    Hi David

    I haven't tried this myself but could you...

    1. Add a SplitButton control to the RBNMapMTBStackPanelAddControl function
    2. Add a Group to this new SplitButton using the RBNSplitButtonAddGroupIdx function
    3. Add controls to the SplitButtonGroup using the RBNSplitButtonGroupAddControlIdx function

     

    The last two functions refer to the nIndex of the earlier added controls.



  • 3.  RE: Adding a splitbutton to the minitoolbar in MI 64bit

    Posted 05-04-2018 11:39

    Thanks Peter, I'll give it try next week.