MB6-704 · Question #37
You are developing a solution that will delete some records from a specific table. You need to add a button that has delete logic on a Click event. Users must be prompted for input in the form of…
The correct answer is B. Print, pause C. Dialog boxes. C: You can display a message in a modal dialog box by using the Box class. DialogButton diagBut; str strMessage = "The No button should have initial focus."; str strTitle = "Title"; ; diagBut = Box::yesNoCancel( DialogButton::No, // Initial focus is on the No button. Not A…
Question
You are developing a solution that will delete some records from a specific table. You need to add a button that has delete logic on a Click event. Users must be prompted for input in the form of Yes or No before executing the delete operation. What are two possible communication tools you can use to achieve this goal? Each correct answer presents a complete solution.
Options
- AWarning Boxes
- BPrint, pause
- CDialog boxes
- DWarning Info log
- EError Info log
How the community answered
(37 responses)- A5% (2)
- B78% (29)
- D11% (4)
- E5% (2)
Explanation
C: You can display a message in a modal dialog box by using the Box class. DialogButton diagBut; str strMessage = "The No button should have initial focus."; str strTitle = "Title"; ; diagBut = Box::yesNoCancel( DialogButton::No, // Initial focus is on the No button. Not A: warning WarnBox The OK button is the only one displayed in the dialog box. Use this dialog box for a warning Note: Box::confirm Method [AX 2012] Displays a simple dialog box that has NoYes::Yes and NoYes::No buttons. client public static boolean confirm( str _bottomText])
Topics
Community Discussion
No community discussion yet for this question.