Visual effect issue with a tab panel button

Eric Chatonet eric.chatonet at sosmartsoftware.com
Wed Mar 26 06:43:10 EDT 2008


Bonjour André,
Hello Jerry,

At first sight, if the screen is locked when your menuPick handler  
runs, I see one only possible reason:
There is a front script that traps menuPick, locks the screen then  
passes the message:
I suspect GLX2 to do it but I can't verify as I have not GLX2 installed.
Anyway it is logical :-)
Try to uninstall GLX2 to be sure because your current code (that  
works with GLX2) might no longer work in any other environment.

On the other hand you could use the following workaround:

repeat until not the lockscreen
   unlock screen
end repeat
lock screen
go cd pItem
unlock screen with <visual effect>

Best regards from Paris,
Eric Chatonet.

Le 26 mars 08 à 11:29, Andre.Bisseret a écrit :
> Hi Jerry, (and Jacque, Éric) and all
>
> Thanks again for this idea.
>
> But, this morning, I made a new stack, a very simple one :
> 3 cards (named Tab 1, Tab 2 and Tab 3)
> On each of them, a tab panel button with 3 tabs : Tab 1, Tab 2, Tab  
> 3. The tab panel is grouped with "behave like a background" set to  
> true.
>
> The only script in the stack is the following  tab panel script:
>
> on menuPick tNew
> unlock screen
> visual effect scroll up fast
> go cd tNew
> end menuPick
>
> If the first line is "unlock screen" (as above) then I get the  
> expected visual effect
> if I inactivate this first line (-- unlock screen) then the visual  
> effect does not occur.
>
> So it would seem that at first (when opening the stack ?) the  
> screen would be locked ? (could be only when a tab panel is there ??)
> I am really confused
> It's very amazing is"nt it ?
>
> I would be very interested by any explanation
>
> Best regards from Grenoble
> André
>
> Le 25 mars 08 à 20:13, Jerry Daniels a écrit :
>> André,
>>
>> Maybe another "lock screen" is blocking your visual effect?
>>
>> I was using "cd 2" as an example of a place to go. You can use any  
>> card destination.
>>
>> Best,
>>
>> Jerry Daniels

----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the Use-livecode mailing list