In order to call a subroutine from a grid, there are no changes required to the Overlay definition for either a TL Selector or General grid. The changes are all made on the VBP Provider Button Mapping Form as shown below and described in detail here

There are also various options to manage subroutine execution as described here

 

VB Provider Mapping Form