Updating MapBasic legacy code, which contains enable/disable menu/button features, to a ribbon interface
The Mask application developed by TWIA.NL enables the user to create a mask around one or more selected polygons. The program is menu driven and also has a button and menu options which are enabled when one or more polygons are selected. When this program is run in the new MapInfo Pro ribbon interface the code is displayed under a legacy tab as shown in the following screen shot.
The following screen shot shows how the button containing a mask image is disabled whilst there are no polygons selected.
Once a map has been opened and polygons selected the button and menu options are enabled as shown in the following screen shot.
Clicking on the enabled Mask button brings up a dialogue box where the user can choose various options when creating a mask. Once selected the mask is created and automatically saved to the table and location chosen by the user as shown in the following screen shot.
Once the various options have been chosen the mask is created as in the following screen shot.
Joe Short BSc has been involved with various mapping solutions for over twenty years. If you are considering implementing a GIS or have ArcGIS Pro, MapInfo Pro or QGIS training requirements, jps services would be happy to be of assistance to your organisation.