linefeeds dialogboxes

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

linefeeds dialogboxes

Postby IT2Be » Sat Nov 15, 2003 11:30 am

Would it be possible to do an automatic linefeed in a dialog box.

When I have a dialog with a variable string (can be up to 50 characters long) I don't know on forehand where to break the line...

Can you buld such a thing in, possibly in line with the different os-es standard boxes?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby jcompagner » Sat Nov 15, 2003 1:03 pm

do you mean these kinds of dialogs?

plugins.dialogs.showInfoDialog( 'The Title', 'Text, 'OK')

and then the text part?
that one won't do a line feed. If you put in a long text it will display that long text by making the dialog wider and wider.

you can do this:

plugins.dialogs.showInfoDialog( 'The Title', '<html><body>THIS IS A VERY LONG PIECE OF TEXT THAT MUST GO ON FOR A BIT MORE <br> THIS IS A VERY LONG PIECE OF TEXT THAT MUST GO ON FOR A BIT MORE</body></html>', 'OK')
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8841
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest