Dialog screen events

Some body may wonder if it is possible to use control’s event methods in dialog just like what we do in the form. For instance, the change of a given dialog control’s value will result in changes in other control’s value.
In Axapta, if you use a class that extends RunBase, it allows you to implement the screen events in dialog.
1. in dialog method
    protected Object dialog(…)

Then, when a control is selected, the runbase.dialogSelectCtrl() method is called.
2. in dialogSelectCtrl method

    public void dialogSelectCtrl()
        //processing here

This entry was posted in Axapta Development. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s