Page 1 of 1

RR stuck in Browse mode

Posted: Sat Sep 06, 2008 12:12 am
by gyroscope
Unusual behaviour from Rev this evening:

When I click in the Pointer tool to edit stuff, the icon highlights; and is indicated as being chosen in the app main menu, but it still stays in Browse mode. If I select a button's inspector, for instance, via the Application Browser, the button is selected, but still acts as a "runtime" button.

This problem started when I opened someone else's stack and copied the script (into the main stack scripting area); even quitting Rev and opening the stack again, it still acts the same. (I'm not blaming anyone else though :wink:)

Luckily it's a small test only for an aspect of my main project, so it doesn't matter if I trash it. But just in case it happens again to something a bit more important, could anyone explain what's going on please and/or a way to repair the stack?

Posted: Sat Sep 06, 2008 7:51 am
by Janschenkel
What are the 'style', the 'mode' and the 'cantModify' properties of the stack?

If a stack's style is 'modeless', for instance, it looks like a regular window, but it is a dialog and cannot be modified, unless you change its style back to 'toplevel'
The 'mode' stack property also helps to explain why a stack is not editable.
The 'cantModify' stack property would be another likely candidate.

Jan Schenkel.

Posted: Sun Sep 07, 2008 10:06 pm
by gyroscope
Ahh yes, thank you Jan; I remember the stack code includes the word "modeless"

Just read that if I use the TopLevel command, it'll display it in an editable window, so I guess if I put that in the Message Box I'll be able to interact with the stack again.

:)