Interview Questions

Tuesday, August 24, 2021

How to make any button as by default selected on dialog created by X++

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