How do i get dialog result?

yukon
Member Posts: 361
Hi all,
How can i get dialog result. I means user click "Ok" or "Cancel". If i can get result how should i do. I wann to get result of "Case -> Action -> Resolved Cased".
I'm not family with crm. Kindly, please guide to me.
Best Regards,
Yukon
How can i get dialog result. I means user click "Ok" or "Cancel". If i can get result how should i do. I wann to get result of "Case -> Action -> Resolved Cased".
I'm not family with crm. Kindly, please guide to me.
Best Regards,
Yukon
Make Simple & Easy
0
Comments
-
Did you try CONFIRM Function (DIALOG)?
Creates a dialog box that prompts the user for a yes or no answer. The dialog box is centered on the screen for you.
Ok := Dialog.CONFIRM(String [, Default] [, Value1] ,...)
Parameters
String
Type: Code or text constant
Specifies the string that is displayed in the dialog box. Use a backslash (\) to indicate a new line. The string can be a text constant that is enabled for multilanguage functionality. For more information, see Working with Multilanguage Functionality.
Default
Type: Boolean
Specifies the default button. If you do not specify a default, No is used as the default.
Property Value/Return Value
Type: Boolean
true if you entered Yes; otherwise, false.
This return parameter reflects the user's selection.
Remarks
The message window is sized for you. The height of the window corresponds to the number of lines and the width corresponds to the length of the longest line.
Example
In the following example, the Dialog.CONFIRM function prompts the user for a Yes or No answer. This code example requires you to create the following text constants in the C/AL Globals window.
Text Constant ENU Value
Text000
'Leave without saving changes?'
Text001
'You selected %1.'
Copy Code
Question := Text000;
Answer := Dialog.CONFIRM(Question, TRUE);
MESSAGE(Text001, Answer);0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions