Changing the windowshape of a stack sets the systemwindow property to false. It should NOT do that!
I have a program that changes windowshape every 100 millisecs. This issue is a serious problem.
I tried using: if the systemwindow of this stack is false then set the systemwindow of this stack to true
This causes the stack to flicker incessantly and is hardly a solution.
I already tried to lock and unlock the screen and lock and unlock messages. Those did nothing.
Is there any way of keeping systemwindow active after changing the shape of the window?
Annoying Systemwindow Issue with Windowshape
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 77
- Joined: Fri Jan 04, 2013 9:57 am
-
- Posts: 77
- Joined: Fri Jan 04, 2013 9:57 am
Re: Annoying Systemwindow Issue with Windowshape
Nevermind. I've figured it out already.
Code: Select all
on focusout
set the systemwindow of this stack to true
end focusout
-
- VIP Livecode Opensource Backer
- Posts: 10058
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Annoying Systemwindow Issue with Windowshape
Good catch. There are a handful of cases where the LC engine reverts objects to default values for some properties when setting others. With things like the listBehavior with fields it's usually what we want, but I wonder if this one could be altered in the engine to allow the systemWindow to remain as-is when changing the windowShape.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn