WebListbox Multiline False Ignored

As the web listbox does not appear to only show the first line of text in even if multiline is set to false, what is the best approach to do this.

Simple code like

left(text,80) //still shows multiple lines if a linefeed character is in the first 80 characters

I’ll have a play but something like show the first 80 characters unless there is a linefeed in which case only show the characters up to that except if the linefeed happens to be on the first line on its own - if you see what I mean.

Show the first real line of text up to about 80 characters.

How about…

Left(NthField(text, EndOfLine, 1), 80)

Hmm Greg… of course this is a simple workaround., but what is or should be the function of the Multiline property ?

Setting Multiline to false prevents word wrapping.