O'Reilly logo

Developing Microsoft Dynamics GP Business Applications by Leslie Vail

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Fun with dialogs

Several dialog boxes open at various times throughout Dynamics GP. Some of these dialogs are hard to understand while others are simply a nuisance. Using VBA, you can change the text of a dialog, automatically answer the dialog before it is presented, or monitor your user's response to a dialog.

BeforeModalDialog

The BeforeModalDialog event is a window event that executes when a modal dialog opens but before it is visible to the user. This event is useful if you want to change the wording of a dialog or automatically answer it. You could also complete other actions based on which dialog was being displayed, such as setting the value of variables.

You can have a lot of fun with this event by customizing dialogs for individual users. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required