Lock Screen disables Lock Messages (???)
J. Landman Gay
jacque at hyperactivesw.com
Tue Jul 27 20:16:09 EDT 2004
On 7/27/04 2:51 PM, Howard Bornstein wrote:
> Whew, this one took me two days to track down. I'd appreciate it if
> someone can confirm this.
>
> Create a stack with one button. In the button put this script:
>
> on mouseup
> lock screen
> growit
> unlock screen
> end mouseup
>
> on growit
> lock messages
> -- This causes the resizeStack handler to trigger.
> put the width of this stack into sw
> put the height of this stack into sh
> set the width of this stack to sw+1
> set the height of this stack to sw+1
> unlock messages
> end growit
>
> In the stack script put this script:
>
> on resizestack
> put the ticks
> end resizestack
>
> Unless I'm mistaken, clicking the button should never cause the ticks to
> be sent to the message box. If you comment out Lock Screen, it works as
> it should. However, with the Lock Screen command executing, the ticks
> are then output, indicating that the lock message command is ignored.
The "lock messages" command does not stop all messaging. It mostly only
stops the navigation messages -- such as openCard, openStack,
preOpenCard, etc.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list