command/handler for minimizing a stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
command/handler for minimizing a stack
I want to be able to bring down/bring up a group of windows(stacks) by clicking a button on a stack. If this is possible, any idea how to do it?
Thanks.....
Thanks.....
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Check out the language dictionary entry for the 'iconic' property.
To collapse/minimize/iconify a single stack, you'd use:
So all you have to do is script a loop...
Jan Schenkel.
To collapse/minimize/iconify a single stack, you'd use:
Code: Select all
set the iconic of stack "foobar" to true
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Re: command/handler for minimizing a stack
Greetings,
Is there such way to do the same to to maximize and and bring the window to a smaller size?
(basically a way to emulate the 3-4 buttons from the top right corner of the window)
Many thanks
- Miguel
Is there such way to do the same to to maximize and and bring the window to a smaller size?
(basically a way to emulate the 3-4 buttons from the top right corner of the window)
Many thanks
- Miguel
Re: command/handler for minimizing a stack
Code: Select all
set the rect of stack "moo" to (the screenRect)
Re: command/handler for minimizing a stack
I tried that command before, unfortunately the effect is not the same as the "maximize" of the window.
The borders or the window and the window title disappear. I have even tryied a script like this
but the window icon will show the maximize icon instead of the resize one (the one to put the window in a smaller size)
Any ideas ?
Many Thanks
- Miguel
The borders or the window and the window title disappear. I have even tryied a script like this
Code: Select all
on mouseUp
put the screenrect into TSR
add 30 to item 2 of TSR
set the rect of stack "project_settings" to TSR
end mouseUp
Any ideas ?
Many Thanks
- Miguel
Re: command/handler for minimizing a stack
Looks like you would need to do it through an external or some other system call.. What operating system(s) are you looking for?
Re: command/handler for minimizing a stack
Win and MAC
Re: command/handler for minimizing a stack
I have never been able to get a Windows external to work in the newer versions of the engine (could be an error on my part though).. I will look to see what is available for Mac OS X.. You are talking about the green toggle button, not the new Lion full screen mode, correct?
Re: command/handler for minimizing a stack
aaaa I'm not really a Mac user, I just want it to work on MAC too 
basically the options I'm talking about (in windows) are:
- Minimize
- Maximize / Restore down
- Close

basically the options I'm talking about (in windows) are:
- Minimize
- Maximize / Restore down
- Close