Hi All
A couple of quick questions.
How do I put a carriage return into a string of text?
Is it possible to use a label element to display multiple lines of text(mail label)?
Thanks
Tommy
Hi All
A couple of quick questions.
How do I put a carriage return into a string of text?
Is it possible to use a label element to display multiple lines of text(mail label)?
Thanks
Tommy
Just do something like
var myAddress = '';
myAddress += 'Servoy' + '\n'; // \n is the carriage return
myAddress += 'Servoy street 2' + '\n';
etc.
and put that on a label (for example as a calculation).
This can also be done using html. The following screenshots show detail of how mailing labels and letters can be done in Servoy:
http://66.105.190.195/ServoyLabels/Screen1.jpg
http://66.105.190.195/ServoyLabels/Screen2.jpg
http://66.105.190.195/ServoyLabels/Screen3.jpg
http://66.105.190.195/ServoyLabels/Screen4.jpg
http://66.105.190.195/ServoyLabels/Screen5.jpg
http://66.105.190.195/ServoyLabels/Screen6.jpg
http://66.105.190.195/ServoyLabels/Screen7.jpg
http://66.105.190.195/ServoyLabels/Screen8.jpg
http://66.105.190.195/ServoyLabels/Screen9.jpg
http://66.105.190.195/ServoyLabels/Screen10.jpg
http://66.105.190.195/ServoyLabels/Screen11.jpg
http://66.105.190.195/ServoyLabels/Screen12.jpg
http://66.105.190.195/ServoyLabels/Screen13.jpg
Hopefully, the measurements shown of the screen elements will save others some time. These links had been on the list previously, but were not working for a while. I just put the files back on our server again, so they can be seen.
Thanks Patric k & Westy
Very enlighting and helpful.
Tommy