RR stuck in Browse mode

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gyroscope
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 404
Joined: Tue Jan 08, 2008 3:44 pm
Contact:

RR stuck in Browse mode

Post by gyroscope » Sat Sep 06, 2008 12:12 am

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?

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

Post by Janschenkel » Sat Sep 06, 2008 7:51 am

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

gyroscope
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 404
Joined: Tue Jan 08, 2008 3:44 pm
Contact:

Post by gyroscope » Sun Sep 07, 2008 10:06 pm

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.

:)

Post Reply