ScriptSpot

Forum topic · General Scripting

Popup Dialog

By JokerMartini · 2010-11-09

Description

I have a dialog pop up that says "Load or Cancel"
Is there a way to make it so the user can not do anything else in max until they choose Load or Cancel"
Somehow locking everything in max. Similar to when error messages pop up in max.
Thanks

Comments (2)

Nice

JokerMartini · 2010-11-10

Hey thanks a ton Anubis. I tried to search for this in the help. I was searching for the wrong key words.
Thanks again.

set modal to true

Anubis · 2010-11-10

yes, you can, set modal property to true in the CreateDialog,
some example w`d like:

CreateDialog myRolloutName 300 120 modal:true

Quote from the help:
"When the optional modal:<boolean> keyword is set to true, the dialog ignores all user interactions except those within the dialog."

cheers