PDA

View Full Version : Simple Popup Window?



jkeller
October 14th, 2025, 19:15
Is there a simple call to popup a simple window with a text message?

I don't think I want to use Interface.dialogMessage (that's modal, right)?

I could use Interface.openWindow, but then I'd need to define the window class, right?

I don't want to duplicate a function that probably already exists.

Thanks

Trenloe
October 14th, 2025, 19:27
I could use Interface.openWindow, but then I'd need to define the window class, right?
Have a look at some of the dialog templates in CoreRPG: utility\utility_dialog.xml or utility\utility_dialog_select.xml

Search for those windowclass names within CoreRPG and other rulesets for examples of how to use them.

Moon Wizard
October 15th, 2025, 00:24
You can also look at included API:
Interface.dialogMessage

Regards,
JPG

jkeller
October 15th, 2025, 20:06
Thanks - it looks like Interface.dialogMessage is no longer synchronous, so I think I can use that. It's not pretty, but it seems to work fine.