Dialog Data Type
Version: Available or changed with runtime version 1.0.
Represents a dialog window.
Static methods
The following methods are available on the Dialog data type.
Method name | Description |
---|---|
Confirm(Text [, Boolean] [, Any,...]) | Creates a dialog box that prompts the user for a yes or no answer. The dialog box is centered on the screen. |
Error(Text [, Any,...]) | Displays an error message and ends the execution of AL code. |
Error(ErrorInfo) | Displays an error message and ends the execution of AL code. |
LogInternalError(Text, DataClassification, Verbosity) | Log internal errors for telemetry. |
LogInternalError(Text, Text, DataClassification, Verbosity) | Log internal errors for telemetry. |
Message(Text [, Any,...]) | Displays a text string in a message window. |
StrMenu(Text [, Integer] [, Text]) | Creates a menu window that displays a series of options. |
Instance methods
The following methods are available on instances of the Dialog data type.
Method name | Description |
---|---|
Close() | Closes a dialog window that has been opened by the OPEN method. |
HideSubsequentDialogs([Boolean]) | Specifies that subsequent child dialogs are not shown. |
Open(Text [, var Any,...]) | Opens a dialog window. |
Update([Integer] [, Any]) | Updates the value of a '#'-or '@' field in the active window. |
See Also
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho