Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi All,
Wondered if anyone knows an easy way to detect if 'any' dialogue is open, not just the main menu ones.
For example below, this works fine to prevent a message pop-up from coming when using 'message' in a timer loop and you open 'save as' dialogue. However open Ctrl-D / Modify Attributes, and you still get a pop-up with this message looping over the top.
Or if it is easier to show the status of something without using 'message' at all?
dbActive = windows_disabled();
if (dbActive != 1){
message "Timer widget is active $nticks"
}
Many thanks
Chris
Thanks Paul, will look into that.
I just want to use 'message' to show the user that my widget is running in the status bar, but without it creating a pop-up message when some diogues are opened, which looks to be the default behaviour.
Thanks
Chris
Great thanks Clay,
I was clearly searching the docs for the wrong terms! 😉
-C