In Axapta, How to add a button to a dialog and intercept the click event?
Thanks
In Axapta, How to add a button to a dialog and intercept the click
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Option 1;
This line is needed in dialog run()
The you can overload the click event;
Option 2;
Put your button action code in a separate class, and create a menu option, the add a menu item button to execute your code;
Which you use depends upon what you are trying to achieve really.