XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
Bevel effect on layer stops text updating https://www.bbs.xwidget.com/viewtopic.php?f=3&t=2511 |
Page 1 of 1 |
Author: | meme [ January 11th, 2013, 4:57 pm ] |
Post subject: | Bevel effect on layer stops text updating |
I have found this several times on different versions, still occurs on V1.8. If you use a bevel effect on a layer that has a text component the text will not update if code or an event try to change it. Example- Create widget, add a layer, add a text component on the layer, add two buttons add code for Button1 to text1.text="hello" add code for Button2 to text1.text="bye" Test it - button 1 and 2 work OK changing the text of text1 Now on Layer1 select "effect" and tick "bevel" Test it now - the text will not change. Untick "bevel" and it works again. This occurs if the text in on the layer, if you move the text off the layer it works OK Can anyone confim this is a bug? |
Author: | Tony [ January 11th, 2013, 6:42 pm ] |
Post subject: | Re: Bevel effect on layer stops text updating |
please try to add code for Button1 text1.update; after text1.text="hello" |
Author: | meme [ January 11th, 2013, 7:00 pm ] |
Post subject: | Re: Bevel effect on layer stops text updating |
Hi Tony Modified code to text1.text="hello"; text1.update; Still does not work if bevel is ticked... |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |