Very often I want to give an explicit confirmation dialog (e.g. when deleting items).
I can implement that with creating my own dialog page in the webui, but these are typically quite large for the intended purpose (custom size with 1 row, 1 col).
When you try to delete a page in the webui in aimms itself, it gives also a confirmation dialog page:
I was wondering, is there an easy way that I can access a similar type of simple dialog message from within my own applications?
For example, I triggered a procedure with the following content to get the dialog shown in the screenshot:
ButtonsOnDialog := data {'Yes', 'No'}; webui::RequestPerformWebUIDialog("Confirmation!", "Are all the required files uploaded. Continue with the optimization?.", ButtonsOnDialog, 'OnDoneProc');
For example, I triggered a procedure with the following content to get the dialog shown in the screenshot:
ButtonsOnDialog := data {'Yes', 'No'}; webui::RequestPerformWebUIDialog("Confirmation!", "Are all the required files uploaded. Continue with the optimization?.", ButtonsOnDialog, 'OnDoneProc');