View Full Version : Pop-Ups
March 8th, 2003, 05:37 PM
Is there a way to lay a smaller screen over a larger screen and then remove it. IE....A Pop-Up Window?
This would be great for (Yes or No) (Are You Sure) (Lighting Presets) and a 1000 other uses. I can't figure it out in Tonto if there is a way.
March 8th, 2003, 05:46 PM
Not really.... You have to fake it...
Step one - make a screen that you want to have a "pop-up" on.
Step two - Take a screen shot of it and turn it into a bit map (or png in tonto)
Step three - make a new panel that you want to act as the "pop-up" and add a frame with the screenshot as the icon for the frame
Step four - add the button ofr fram to hold the information that you want "popped up" and overlay it on the first frame.
Step five - add a button to to the first panel that calls the "pop-up"
Viola! you have a pop-up.
March 9th, 2003, 10:18 AM
But if I understand correcty, this would only work with a single page?? If it will work everywhere, then I'm set! What I'm trying to do is pop up a lighting control panel no matter what page I'm on.
What I think would need to happen is we need the ability to call a different page size than the standard and pop it on top. Another option is to call a frame and then have the ability to remove the frame.
The way AMX handles the problem is they overlay screens, one on top of the other and let you size the screen however you want. It's a stack of screens.
Maybe that could get added the list of future updates of Tonto and Netremote. With the newly added screen sizes, there is a whole new world of options.
March 9th, 2003, 10:32 AM
That is one of the problems with Pronto, and Pronto Emulators.... there is not support for overlays....
It used to be that I had all my lighting stuff on the 'macro' side. If you hit a button that called the macro side, you would get the lighting panel, then by touching the device name (on the device list) you would go back to where you called lighting not matter where it was called from.
That way I didn't need a drop down, I could just have alighting button. But, alas, it doesn't work in all the various pronto emulators.... and since 'macros' are a leftover from programming the remote by hand anyway, I have moved everything to the device side.
The way I handle it now is to have duplicate lighting screens that have an 'exit' button that returns to the calling screen. I simply duplicate as many panels as I need and change one button to have it point to the correct re-entry panel.
Your idea would be great, but one would need to do some work to deal with focus and the visual cues for the user. I think that there could be something done with the 'skin' area where one could place buttons for calling things like 'lights' from every screen... and the return might already be taken care of, since the skin area sort of already calls an overlay (the device list)... just thinking out loud...
My guess is that things will get more powerful down the road and for now we just need to work within the limitations of the software and file system.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.