use-revolution Digest, Vol 1, Issue 54

Jan Schenkel janschenkel at yahoo.com
Mon Oct 27 14:11:01 EST 2003


--- Jim Hurley <jhurley at infostations.com> wrote:
> [snip]
> 
> What is there about a stack which locks the screen
> when running 
> through the cards and another stack which does not?
> Puzzling.
> 
> Jim
> 

Hi Jim,

Try the following instead of merely 'lock screen' :

--
  lock screen
  lock messages
  lock recent
  -- now do your stuff
  ...
  -- and when you're done
  unlock recent
  unlock messages
  unlock screen
--

Locking the mesages will prevent the usual array of
events (closecard, preopencard, opencard) from being
sent ; thus preventing the geometry manager from doing
its 'thing' which invloves unlocking the screen :-)

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/


More information about the Use-livecode mailing list