Page 1 of 1

Screen Lock

Posted: Sat Mar 08, 2014 3:36 pm
by blairetabay
Hi to all,

I have two forms the main and the sub form. i use lock screen. In my mind that only the form that is active is working but its not.

here is my code

Code: Select all

set the lockScreen to true

Re: Screen Lock

Posted: Sat Mar 08, 2014 4:03 pm
by Klaus
Hi Blaire,

I have no idea what you are talking about!?
Main form/sub form? Active form?
Maybe you mean stacks?

Sorry, don't get it.


Best

Klaus

Re: Screen Lock

Posted: Sat Mar 08, 2014 4:35 pm
by blairetabay
hi Klaus,


i mean stack. main stack and the sub stack.

Re: Screen Lock

Posted: Sat Mar 08, 2014 4:55 pm
by Klaus
Ah, OK, that one solved!
But what about this one:
In my mind that only the form that is active is working but its not.
Still no idea what that could mean :D

Re: Screen Lock

Posted: Sat Mar 08, 2014 9:53 pm
by jacque
I think it means he wants to lock the screen to show and enable only a single form at a time. Is that's true then:

That's not what lockscreen does, blairetabay. Lockscreen stops the screen from updating but it does not hide or show objects. The lock only lasts until the current handler is finished and then the screen redraws automatically.

Instead, hide one form and show the other one. If each form is in a stack, you can:

set the visible of stack "form 1" to false -- if it is the main stack
go stack "form 2"