How to prevent unlocking the screen

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Dec 15 05:38:25 EST 2009


Hi Jacques,

Lock screen, change stack size, change content, unlock screen. This  
should give acceptable results. This is a script, which I use in a  
project of mine:

      revChangeWindowSize the width of this stack,the cNewHeight of cd  
"Destination Card","Slide",,100
      lock screen
      go cd "A different card"
      resizeStack // update contents here
      unlock screen with visual effect dissolve very fast

(mind line wraps, if any)

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Full PayPal integration and automation in web site or (Revolution/ 
SuperCard/other) software. Contact me for a quote
http://economy-x-talk.com/contact.html

Op 15 dec 2009, om 11:25 heeft Jacques Hausser het volgende geschreven:

> Hello everybody,
>
> I want to change the size of a stack:
>
> command changeStackSize
>  lock screen
>  -- (computes and set the new size)
> end changeStackSize
>
> The problem is that notwithstanding the "lock screen" the change is  
> visible in two steps: first the window size, and then the content. I  
> would like to hide the change till completed. How to do ?
> Thanks in advance
>
> Jacques
>





More information about the Use-livecode mailing list