Page 1 of 1

lock screen unlock

Posted: Wed Nov 27, 2013 10:21 pm
by chris25
What are these? They are constantly in other peoples' codes. they are not listed anywhere.
thankyou
chris

Re: lock screen unlock

Posted: Wed Nov 27, 2013 10:24 pm
by Klaus
Did you check "lock screen" in the dictionary?
I think the explanation is not too bad. 8)

Re: lock screen unlock

Posted: Wed Nov 27, 2013 10:33 pm
by dunbarx
Chris.

And be aware that if you lock the screen a few times, you have to unlock at least that many times. Locks are queued. This has popped up a few times.

So here is a mini lesson. "Lock Screen" is a command. The "lockScreen" is a property. So if you are running handlers that call lots of other handlers where some of them might be locking the screen, and you don't know where you are with that, if you want to make sure the screen is unlocked for some local purpose:

repeat until the lockScreen is "false"
unlock screen
end repeat

Craig

Re: lock screen unlock

Posted: Wed Nov 27, 2013 10:40 pm
by chris25
Oh for pity's sake Grrrrrr....I had the blasted highlight on 'library' and not on 'All' in the dictionary :evil:

Thankyou Klaus, thankyou craig for that headsup on what you said, noted and recorded.
kind regards
chris