Overview of macro support

In Visual Studio Tools, forms you create that inherit from the DexUIForm can be integrated into the macro system in Microsoft Dynamics GP. Support for the macro system is not automatic. To support the macro system you will do the following:

  • You must add calls to the RecordMacroItem() method in the appropriate places in your Visual Studio Tools add-in to record macro commands for your form.
  • You must override the PlayMacroItem() method in the DexUIForm base class, and add code to support playback of your macro commands.
  • If your Visual Studio Tools form makes asynchronous calls to other processes that the macro system will need to wait for, you will need to override the IsAsynchEventPending() method.