Page 1 of 1
Iconic behavior like Rev
Posted: Tue Apr 01, 2008 5:55 am
by keyless
When you minimize Rev, all the iconics of the stacks go away and there is only the Rev Iconic in the task bar. If you click the iconic to maximiz it, all the stack iconics show back up on the taskbar and all the stacks maximize along with Rev.
How can I duplicate that in my project?
Posted: Tue Apr 01, 2008 9:58 am
by Janschenkel
One of the interesting aspects of Revolution, is that the IDE is built on the same engine as the runtime - among other things, this means that you can look at the scripts of almost any part of the Revolution IDE.
In the message box, type:
Code: Select all
edit the script of stack "revMenubar"
and hit return.
Look at the handlers for 'iconifyStack and 'unIconifyStack' - basically, the open stacks (except the revMenubar stack) are hidden when you minimize, and made visible again upon unminimize.
Hope this helped,
Jan Schenkel.
Posted: Tue Apr 01, 2008 7:20 pm
by keyless
helped greatly, thanks
answer was so simple, iconify the mainstack, but just hide the other ones. (in handler IconifyStack)