Jump to content
Sign in to follow this  
Leopard2

Listbox with multiple lines per element

Recommended Posts

I can't for the life of me figure out how to re-create a listbox that looks like the one in MP Setup dialog. crazy_o.gif

It appears as if the elements contain structured text (multiple lines, different colors, font sizes, etc.). I can only set regular strings which will not span across more than one line.

I looked through the configs, found the definition for the class and tried to match it. I just cannot add anything but simple strings.

Does anybody know how to do this? help.gif

Share this post


Link to post
Share on other sites

ListBox with multiple columns.

I don't think anyone has worked it out yet. It was a discussion topic early last year. It may be restricted for use by the engine internally only (i.e. MP list).

We considered and tried:

- the listBox columns[] property - seems to specify the various column widths

- passing arrays to lbAdd or lbSetData

- using various delimeters inside the string to indicate columns

- checking for possible associations with scrollbars and RscControlsGroup

- structured text

Didn't consider trying structured text - interesting idea. Had no luck with that either just now.

Let us know if you discover anything more. These are the types of questions I wish the dev's would just acknowledge as either being possible or not.

Share this post


Link to post
Share on other sites

I'm interested too ...

and also in another thing: isn't it possible to lbsetcolor selectbox-entries like listboxes? didn't work ...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×