Iconic behavior like Rev

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Iconic behavior like Rev

Post by keyless » Tue Apr 01, 2008 5:55 am

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?

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Tue Apr 01, 2008 9:58 am

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.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Post by keyless » Tue Apr 01, 2008 7:20 pm

helped greatly, thanks

answer was so simple, iconify the mainstack, but just hide the other ones. (in handler IconifyStack)

Post Reply

Return to “Windows”