Re: LC 9.6.6 oddities when showing/hiding text
Jacqueline: This appears to do the trick. I had other problems too, like locking the screen before I went to the card that was to display the text. But what you describe works and now I’m cleaning up the stack. Thanks, Bill > On Jan 28, 2022, at 9:59 AM, William Prothero via use-livecode > wrote: > > Thanks, Jacqueline! I’ll try to. > Bill > > William A. Prothero, PhD > Prof Emeritus, Dept of Earth Science > University of California, Santa Barbara > >> On Jan 28, 2022, at 9:30 AM, J. Landman Gay via use-livecode >> wrote: >> >> The newer, recommended method may work better for you: >> >> lock screen for visual effect [in rect] >> - - do stuff >> unlock screen with visual effect dissolve >> >> This caches the area and allows the engine better control over the effect. >> >> -- >> Jacqueline Landman Gay | jac...@hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >>> On January 28, 2022 10:51:03 AM William Prothero via use-livecode >>> wrote: >>> >>> 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 > 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 ""e&tEffect"e 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 > wrote: > > put "show "&lFieldRef&" with visual effect ""e&tEffect"e into tDo > > --wait for 1 second with messages > > wait 500 milliseconds with messages > > do tDo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> ___ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode William A. Prothero, Ph.D. University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) Santa Barbara, CA. 93105 http://earthlearningsolutions.org/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LC 9.6.6 oddities when showing/hiding text
Thanks, Jacqueline! I’ll try to. Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Jan 28, 2022, at 9:30 AM, J. Landman Gay via use-livecode > wrote: > > The newer, recommended method may work better for you: > > lock screen for visual effect [in rect] > - - do stuff > unlock screen with visual effect dissolve > > This caches the area and allows the engine better control over the effect. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com >> On January 28, 2022 10:51:03 AM William Prothero via use-livecode >> wrote: >> >> 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 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 ""e&tEffect"e 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 wrote: put "show "&lFieldRef&" with visual effect ""e&tEffect"e into tDo --wait for 1 second with messages wait 500 milliseconds with messages do tDo >>> >>> ___ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LC 9.6.6 oddities when showing/hiding text
The newer, recommended method may work better for you: lock screen for visual effect [in rect] - - do stuff unlock screen with visual effect dissolve This caches the area and allows the engine better control over the effect. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On January 28, 2022 10:51:03 AM William Prothero via use-livecode wrote: 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 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 ""e&tEffect"e 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 wrote: put "show "&lFieldRef&" with visual effect ""e&tEffect"e into tDo --wait for 1 second with messages wait 500 milliseconds with messages do tDo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LC 9.6.6 oddities when showing/hiding text
Hi Bill, > Am 28.01.2022 um 17:48 schrieb William Prothero via use-livecode > : > > Craig, > Tnx, the reason I did the “do” stuff is because I wanted to programmatically > vary the speed of the dissolve, to do so, you can set the "effectrate" to in millsecs: ... set the effectrate to 300 show fld XYZ with visual dissolve very slow ... The last line is a bit mentally challenging, but the effectrate will only affect the visual effect setting ... VERY SLOW! :-D > 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 Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LC 9.6.6 oddities when showing/hiding text
Roger, It has always worked fine for me, too. That’s why I’m perplexed. I will also try older versions of Livecode. I remember that there was an issue with “showing” in one of the previous versions. Best, Bill William A. Prothero, PhD Prof Emeritus, Dept of Earth Science University of California, Santa Barbara > On Jan 28, 2022, at 6:57 AM, Roger Guay via use-livecode > wrote: > > Works just fine here! And has always been the way I do it. > > Roger > >> On Jan 28, 2022, at 7:17 AM, Craig Newman via use-livecode >> wrote: >> >> show fld 1 with visual effect dissolve > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LC 9.6.6 oddities when showing/hiding text
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 > 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 ""e&tEffect"e 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 >> wrote: >> >> put "show "&lFieldRef&" with visual effect ""e&tEffect"e into tDo >> >> --wait for 1 second with messages >> >> wait 500 milliseconds with messages >> >> do tDo > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LC 9.6.6 oddities when showing/hiding text
Works just fine here! And has always been the way I do it. Roger > On Jan 28, 2022, at 7:17 AM, Craig Newman via use-livecode > wrote: > > show fld 1 with visual effect dissolve ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LC 9.6.6 oddities when showing/hiding text
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 ""e&tEffect"e 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 > wrote: > > put "show "&lFieldRef&" with visual effect ""e&tEffect"e into tDo > > --wait for 1 second with messages > > wait 500 milliseconds with messages > > do tDo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode