Root > Integral parts > Options > Dialogs page > MessageBox

MessageBox

Previous pageReturn to chapter overviewNext page   

This is setup options for MessageBox dialog (edtMessageBox, edtMessageBoxDetailed). They are located at Dialogs tab.

 

 

MessageBox dialog options

 

Note: error messages in dialogs are controlled by nested exceptions behaviour options.

 

1. "Ask user for send consent" (.edoShowSendErrorReportOption) option will ask user for their consent before sending bug report to developer - by showing question "Do you want to send report" and presenting "Yes" and "No" buttons.

 

This option has no effect if you haven't specified any sending methods. In this case you'll see only one "OK" button. For example:

 

 

Asking for consent is unchecked or there is no sending method available

 

 

Asking for consent is checked and sending method present

 

 

2. Default choice is selected by enabling/disabling "Default choice: send report" (.edoSendErrorReportChecked) option. If this option is checked - the default choice is "send the report". If this option is unchecked - then the default choice is "do NOT send the report". Default choice affects which button (option) will be highlighted/selected when dialog is shown.

 

 

3. "Detailed mode" (.ExceptionDialogType = edtMessageBoxDetailed) option switches between standard mode and detailed mode. Standard mode shows error message only. Detailed mode shows error message and compact call stack. For example:

 

 

 

Standard mode

 

 

Detailed mode

 

 

4. "Use native message box when possible" (.dlgMsgBoxUseNative) option turns on and off "native" style. By default "native" style is the same Windows.MessageBox function. However, some types of application (currently it's a console and web) overrides this to custom routines. For example, "native" message box in console application - it's an output to console. A "native" message box for IntraWeb application - it's a scripted dialog (via WebApplication.ShowMessage). For example:

 

 

"Use native message box" is off

 

 

"Use native message box" is on

 

 

5. "Right-To-Left" option enables Right-To-Left layout. This is global option that affects all EurekaLog run-time dialogs. Unchecked position indicate left-to-right layout (default), checked position indicate right-to-left layout used in some middle eastern languages. This option can also be altered at design-time via Localization page. This option can also be altered at run-time by changing CurrentEurekaLogOptions.CustomizedTexts[mtRTLDialog].

 

 

See also:

MessageBox dialog for general description of this dialog's type



Send feedback... Build date: 2018-11-26
Last edited: 2018-06-14
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/dialog_options_messagebox.php