Revolution isn't Drawing Card

Sarah Reichelt sarahr at genesearch.com.au
Thu Jul 15 22:56:32 EDT 2004


Hi Derek,
I'd look for a problem in the preOpenStack handler that might be 
locking things up a bit.
Try commenting out the lines of script there and seeing if that helps, 
then put them back bit by bit and see which one stops the redraw.
Cheers,
Sarah

> I have the following script below setup in a substack.  When it's 
> executed I get a new window that appears with nothing in it.  
> Revolution isn't drawing the card until after the "openStack" message 
> is complete.  Is this right?!!!  I was sure that hidden operations 
> were to happen during the "preOpenStack" message.  Any ideas on how to 
> fix this?
>
> on preOpenStack
>   select item 1 of cd btn "areaSelection"
>   send "mouseUp" to cd btn "areaSelection"
>   setupAccountEditor
> end preOpenStack
>
> on openStack
>   if selectedAccountID is not empty then
>     -- Hide the Tab Group
>     hide group (the selectedText of cd btn "areaSelection")
>     show group "statusDownload"
>
>     -- Setup and Download All Account Information
>     setupExistingAccount
>     downloadAccountData
>
>     -- Show the Tab Group
>     hide group "statusDownload"
>     show group (the selectedText of cd btn "areaSelection")
>   end if
> end openStack
>
>
> Derek Bump
> Dreamscape Software



More information about the use-livecode mailing list