Quote:
|
Originally Posted by Talyns
I haven't found a way to block escape in a window without blocking it in other windows..Or taking away some other default feature..
|
I think I have this solved for windows that close on escape and both have and don't have a close button by default.
For a window that already has a close button, for the main window page object, give it:
Code:
OnHide="Visible=true"
then go to the close button and give it:
Code:
OnHoverIn="Parent.OnHide=' '" OnHoverOut="Parent.OnHide='Visible=true'"
That should allow the close button to work, not gum up the escape key, and I don't think it interferes with other windows closing.
For a window that lacks a close button, you'd have to add one, follow the same instructions as above, but also give the close button:
Code:
OnPress="Parent.Visible=false"
Unless simply copying a default close button over to a window that lacks one creates a normally functioning close button. I haven't tested.
Let me know if that works/doesn't/you've tried that already.
Quib