Barry, You made a mistake.
The correct syntax is: lock screen or set the lockScreen to true and unlock screen or set the lockScreen to false -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 2 jul 2011, at 15:18, bar...@libero.it wrote: > > > This is a similar question to that of Tiemo (why does lock screen doesn't > locks the screen? (Tiemo Hollmann TB)) about finding colours under other > objects (controls) but that thread evolved so fast in a single Digest I may > appear a bit late. Thus the hijacked thread title. > > The following handler detects the colour onto which a dragged object is > dropped by moving it and getting the mouseColor but. Although it could be > interpreted as a settling wobble, I would prefer not to see the little > movement . > > This works correctly, as is, but if I uncomment the lines 'lockScreen' and > 'unlockScreen' then the whole handler is stopped. > > I've tried moving the commented lines around and using 'set lock screen' but > the result is always the same, suggestions please. > > ----------------------- > Global gCurrBall > > on Rollit > --lockScreen > move gCurrBall relative 20,-20 --These movements should not be seen by > user- > get the mouseColor > put it into tColour > move gCurrBall relative -20,20 > --unlockScreen > if tColour is 0,0,0 then > Dropit > else exit to top > end Rollit > > on Dropit.......... > --------------------------- > Using Windows XPHome, Rev vs 3.5 / 4.0 > > Best to all > Barry Barber _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode