` Printed Icetips Article

Icetips Article



Par2: Conditionally "disabling" locator
2000-03-24 -- Jim Kane
 
In locator.Takekey put return 0 before the call to parent.  That way the key 
strokes will never get to the locator.  You could do something like:

if securitylevel<3 then
  return 0
end

So the locator would only work if security level is high enough.



Printed December 4, 2024, 2:54 am
This article has been viewed/printed 35228 times.