Hi,

I have all the handlers you mention, this is my setup:

LibStackA:mainStack - no openStack, closeStack or closeStackRequest,
no Substacks.

LibStackB:mainStack, no openStack, no closeStack or closeStackRequest
LibStackB:subStack1, openStack, closeStack or closeStackRequest

------

NormalStackA:mainStack:stacj no openStack, no closeStack or closeStackRequest
NormalStackA:mainStack:card1 openStack, closeStack, closeStackRequest
no Substacks.

NormalStackB:mainStack:stacj no openStack, no closeStack or closeStackRequest
NormalStackB:mainStack:card1 openStack, closeStack, closeStackRequest
no Substacks.

Is this correct? If so in which handlers do I need to "pass" and in which stacks/cards?

Is this documented anywhere?

The problem I have is that when I press the close stack button in the Window Title bar I get a dialog asking me to save the stack. If I add a closeStackRequest, I cannot close *any* window via the close button in the window title bar (even IDE stacks!).

Thanks a lot
Dave

On 5 Apr 2006, at 17:17, Stephen Barncard wrote:

you need an 'on closestack' handler somewhere in the hierarchy to close a window-stack this way if your menus or other code won't do it. This is a common conundrum when experimenting with menus.

Rev allows full control of this process, but you have to write it, include all the saving stuff.

This is where the message path is your friend.


Hi,

Ok, I tried that and now none of my stacks will close at all if i use the "close" button in the window title bar!!!!! Also the message box will not close either!

Help! How do I get out of this?????

Is there somewhere in the docs that tell you explicitly what you need to do in order to:

1. Allow the close button in the Window Title Bar to close the window and then optionally have the "stack not saved" dialog appear? e.g. if the stack is dirty I want it to be automatically saved,

2.  Have this work across many stacks and libraries.

3. Have this work with a sub-stack (my only sub-stack is in a library, but it would be nice to have a solution that works for everything!).

I've searched and searched for something that explains how to do this but I can't find anything that positively tell you what should happen and how to handle it.

Thanks a lot
All the Best
Dave

--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to