Skip to main content
Question

Simple dialog message / input text dialog

  • September 3, 2026
  • 1 reply
  • 9 views

gdiepen
AIMMS Champ
Forum|alt.badge.img+7

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?

1 reply

Madhu Krishnappa
AIMMSian
Forum|alt.badge.img+5

Hi ​@gdiepen

You can try using webui::RequestPerformWebUIDialog() to display a smaller confirmation dialog, like the one shown below.

 

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');

Curious to hear if this helps.

Thanks,
Madhu Krishnappa


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator