LC 9.6.6 oddities when showing/hiding text

William Prothero prothero at earthlearningsolutions.org
Fri Jan 28 11:48:39 EST 2022


Craig,
Tnx, the reason I did the “do” stuff is because I wanted to programmatically vary the speed of the dissolve, initially, but it’s probably not necessary because most of the dissolves are the same. I have a pretty large app and I suspect there is some kind of timing problem because putting in a delay solved some of it. For me, the text fades in, then the field content disappears and leaves a white space where the field was. The background of the field is set to transparent, but I haven’t yet explored setting different options. I will do that today.

Thanks for the comment,
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On Jan 28, 2022, at 6:18 AM, Craig Newman via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hi.
> 
> Still annoyed at having to answer in the use-list as opposed to the Forum.
> 
> I made a new stack with a button an a field. In the button script:
> 
> on mouseUp
> 
> hide fld 1
> 
> put "fld 1" into lFieldRef
> 
> put  “dissolve" into tEffect
> 
> put "show "&lFieldRef&" with visual effect "&quote&tEffect&quote into tDo
> 
> do tDo
> 
> end mouseUp
> 
> Works just fine.
> 
> Why go through all the “do” stuff? Why not just:
> 
> show fld 1 with visual effect dissolve
> 
> Craig
> 
>> On Jan 27, 2022, at 9:12 PM, William Prothero via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> put "show "&lFieldRef&" with visual effect "&quote&tEffect&quote into tDo
>> 
>> --wait for 1 second with messages
>> 
>> wait 500 milliseconds with messages
>> 
>> do tDo
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list