Hi Friends,
Sometime we got the requirement the we need to make "Cancel" button as by default selected on dialog created through X++;
So below function will help you to make "Cancel" button as default button on dialog.
Code: "dialog.defaultButton(DialogDefaultButton::Cancel);"
No comments:
Post a Comment