Problem: A window is always on top

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Fermin
Posts: 149
Joined: Fri Jun 05, 2015 10:44 pm

Problem: A window is always on top

Post by Fermin » Sun Nov 08, 2015 10:28 am

Hi.

When I 'awakened' the computer that had been resting a few hours (iMac), I have seen that the main window of a stack in which I'm working is always in front of all the others:

If I write an instruction "answer" or "ask", standing behind. Also the message window and the script window left behind. Even if I open other applications (browser, Photoshop etc.) the same. In fact, it is not active the small yellow button (Mac) to minimize the window.

This only occurs in a stack. I opened others and work well.

I do not remember that I have entered a command that could cause this problem. Does anyone know how to fix it?

Thank you.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: Problem: A window is always on top

Post by bn » Sun Nov 08, 2015 10:40 am

Hi Fermin,

could it be that you accidentally set the "systemWindow" to true in the Properties inspector? (in Basic Properties for the stack) If so unselect "SystemWindow" in the Properties Inspectore or put into the message box

Code: Select all

set the systemWindow of stack "myStack" to false
and hit return.

Kind regards
Bernd

Fermin
Posts: 149
Joined: Fri Jun 05, 2015 10:44 pm

Re: Problem: A window is always on top

Post by Fermin » Sun Nov 08, 2015 11:40 am

Exactly, that's what happened. I did not consciously but perhaps had something to do with that I've accidentally renamed the stack with the name of an object (a rounded rectangle of a calendar application that I'm writing). Thank you very much, Bernd.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Problem: A window is always on top

Post by dunbarx » Sun Nov 08, 2015 4:12 pm

Hi.

The dictionary says that on "Mac OS", this property has no effect. Could they have meant "(but does on) Mac OSX"?

Craig Newman

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4172
Joined: Sun Jan 07, 2007 9:12 pm

Re: Problem: A window is always on top

Post by bn » Sun Nov 08, 2015 5:57 pm

Hi Craig,
Could they have meant "(but does on) Mac OSX"?
I could not figure it out from the dictionary, just tried it.

It definitely works on MacOSX, System 10.9.5 LC 7.x.x

Kind regards
Bernd

Fermin
Posts: 149
Joined: Fri Jun 05, 2015 10:44 pm

Re: Problem: A window is always on top

Post by Fermin » Sun Nov 08, 2015 8:44 pm

My Mac System is 10.9.5 (Mavericks) and Live Code version is 7.0.5. For now I will not update any of them (conjuring Murphy)
On the question of this post, as BN said, the property SistemWindow was turned ON (not sure why). I disabled that property and the problem has disappeared.
Thanks to all. :)

Post Reply