Page 1 of 1

Two expressions at the same time showing [solved]

Posted: Sun Feb 26, 2017 8:11 am
by mihaeru
Hi, I'm wondering how I can make this twice

Code: Select all

show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text
and have 2 different expressions showing at the same time in the screen. Thanks for the help.

I know how to have multiple texboxes in the screen but I need it to be expressions and now I'm a bit lost.

Re: Two expressions at the same time showing in the screen

Posted: Sun Feb 26, 2017 8:20 am
by Ocelot
What is wrong with

Code: Select all

show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text1
show expression Text(_("Text2"), size=50, yalign=0.25, xalign=0.05, drop_shadow=(2, 2)) as text2
Remember: if you show a displayable with same tag, as the existing one, it will replace it.

Re: Two expressions at the same time showing in the screen

Posted: Mon Feb 27, 2017 12:19 pm
by mihaeru
Ocelot wrote:What is wrong with

Code: Select all

show expression Text(_("Text1"), size=50, yalign=0.05, xalign=0.05, drop_shadow=(2, 2)) as text1
show expression Text(_("Text2"), size=50, yalign=0.25, xalign=0.05, drop_shadow=(2, 2)) as text2
Remember: if you show a displayable with same tag, as the existing one, it will replace it.

thanks I will have that in mind for the future, so the "as text" is like the name of the expression, I'm a bit lost because it seems that I can't declare everything the same way I do with variables in Javascript or C# -_-U .