Hi Bruce, I know that some GUI components have the concept of text wrapping but not sure which ones do that. I quick look in unicon/uni/gui revealed that TextDisplay should do what you want. It has a wrap attribute and the comment around for method set_wrap_mode(s) reads as follows
# # Set the word-wrap mode, which should be one of the following # values :- # # &null, "false", "off", "no", meaning don't do word-wrap (the default). # # an integer (eg 20), meaning wrap at that line length. # # "width", meaning wrap at the width of the component. # Hope this helps, Jafar On Sun, Nov 1, 2015 at 5:00 PM, Bruce & Breeanna Rennie <[email protected] > wrote: > Good morning all, > > I hope you all have had a pleasant spring weekend. > > I have designed a form in IVIB which contains a TextField element into > which I am placing a string that is built up from various text elements > taken from a table. What I am wanting to do is have the TextField > display the text over multiple lines. The text contains long lines as > well as newlines. > > At present, it simple displays the text as one line. Is there any way to > display it is multiple lines. I have looked at a TextList but this will > require dynamic calculation on my part as to where to place the breaks > on ling lines. > > When a specific button is pressed the text is copied to the clipboard > for pasting into another application. > > I have pretty much everything else working, but have hit this bump of > displaying the text for the user. Any ideas? > > regards > > Bruce Rennie > > > ------------------------------------------------------------------------------ > _______________________________________________ > Unicon-group mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/unicon-group >
------------------------------------------------------------------------------
_______________________________________________ Unicon-group mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unicon-group
