Nextion Button Text with va1.txt va2.txt on multiple lines?

Hi all,
this is pretty much as per the subject field. I have a Nextion button ‘bt0’ and I want it to show 2 lines in the ‘bt0.txt’ field. But I have to use variables ‘va1.txt’ and va2.txt’ for the text in bt0.txt rather than entering the actual text.

I can get b0.txt=val.txt to show the first line but how do I pass b0.txt the 2 variables split across 2 lines please?

bt0.txt=va1.txt+"\r"+va2.txt

2 Likes

Thanks. I was almost there. Just missed the “” from the /r. :+1: