Multi- Row ComboBox - Possible?

Hi Folks - following on from my question regarding drop down row length - I’ve also discovered that I cant get multi-line text in a combo box, the way I can in a Text_Area field. Can’t format the text to be ‘top left’ either?

Any suggestions or work-around’s for this formatting?

Hi Kahuna,

You can use HTML inside the combobox, this way you can also use images even. So a
(break) would be easy to do.

Hope this helps.

ROCLASI:
Hi Kahuna,

You can use HTML inside the combobox, this way you can also use images even. So a
(break) would be easy to do.

Hope this helps.

Thanks Robert - not being an HTML user I’m not sure how I’d implement that Robert - any examples you could point me to?

Per row you use something like this:

<html>line of text 1
line of text 2</html>

Hope this helps.

ROCLASI:
Per row you use something like this:

<html>line of text 1
line of text 2</html>

Hope this helps.

Thanks again Robert - but not sure how I could implement this as the combobox obviously draws its content from a data table - and I cant control what content there might be in there… Guess I could use some sort of function to count words and break the line on the fly - but that seems like a lot of work just to get a Combobox with wrapped text!!!

Ah, you want it to wrap, no it doesn’t do that by itself.
What you can do however is use a calculation that wraps your data inside HTML and calc the location for the break.

Hope this helps.

If you use an HTML table with a fixed width, the text within the cell will wrap automatically. Here are two values from a value list that illustrates this:

<html><table width=150><tr><td>This is a really long line of text.  It's so long that it has to wrap onto more than one line.</td></tr></table></html>
<html><table width=150><tr><td>This is another really long line of text.  I really hope this works for you.</td></tr></table></html>

You could add a stored calculation like this to populate the value list:

return "<html><table width=150><tr><td>" + columnName + "</td></tr></table></html>"

You may have to play with the width to get it to look just right.
Hope this helps,
Steve In LA (though currently in Las Vegas!)