Skip to main content

Is it possible to select the default selection in a “Question Message” as “No” so that if they press Enter key “No” is validated rather than the current default value “Yes”?

Can the customer configure the default selected button by themselves?

Hi @Dasuni Samarakoon ,

 

Requested functionality can not be archive by the configurations.

But It’s possible to do programmatically using the following method:

public static SalNumber MessageBox(SalString text, SalString title, SalNumber flags)

using the flags Sys.MB_DefButton1, 2, 3

Normal parameters are Sys.MB_IconInformation | Sys.MB_Ok

 

Hope this helps.


Thank you very much @Janitha Jinarajadasa