If you want to take advantage of the enhanced Alter Buttonpad statement of MapInfo Pro 17.0.1, have a look at this small post discussing how to use it to modify an old application so that it can add controls to the ribbon interface of MapInfo Pro 17.0.1.
The post can be found here under the MapBasic topic:
Adding control to the ribbon using the Alter/Create Buttonpad statements