lock screen unlock

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
chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

lock screen unlock

Post by chris25 » Wed Nov 27, 2013 10:21 pm

What are these? They are constantly in other peoples' codes. they are not listed anywhere.
thankyou
chris

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: lock screen unlock

Post by Klaus » Wed Nov 27, 2013 10:24 pm

Did you check "lock screen" in the dictionary?
I think the explanation is not too bad. 8)

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

Re: lock screen unlock

Post by dunbarx » Wed Nov 27, 2013 10:33 pm

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

chris25
Posts: 354
Joined: Tue Oct 08, 2013 9:32 pm

Re: lock screen unlock

Post by chris25 » Wed Nov 27, 2013 10:40 pm

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

Post Reply