Re: How can I automatically word wrap a string placed in a (multicolumn) listbox ?
Hi, To compute the sizes of text written using some font you can use Functions-Graphics Sound-Picture Functions-Get Text Rect.vi. In this function you can specify the font name, its size, and some options (italic, bold, etc.). Good luck. Oleg Chutko.
How can I automatically word wrap a string placed in a (multicolumn) listbox ?
Hello, Using LabView 7.0: I need to automatically wrap text inserted in a multicolumn listbox. The size of the listbox is fixed and I don't know the legth of the string that will be inserted. But the whole string must be visible, because it's Information is important I'm not allowed to use a fixed width font. :-( Has anyone any ideas (or a solution already?) How can I compute the length of a string in pixel to calculate to position to wrap? Thanks in advance, best regards, Rainer