Can I make multiline list item in FXList?

Hi,

In FXRuby, is it possible to make a list, and each list item being more than
one line long?

e.g. something like the new Microsoft Outlook 2003, where in a list of
e-mails, each email shows the Sender and Date on the first line, and the
Subject on the next line.

I tried doing something like this, and didn’t work:

theList = FXList.new(tasksPanel, 1, nil, 0,
LAYOUT_FILL_X|LAYOUT_FILL_Y)

theList.appendItem(“Some sort of task… \n Robo”)

The GUI it creates ignores the \n.

Robo

Robo wrote:

In FXRuby, is it possible to make a list, and each list item being more than
one line long?

No, the list items can’t be multiple lines long (although you might
suggest this on the foxgui-users mailing list).

You might want to check out Jamey Cribbs’ list view widget, recently
announced on the fxruby-users mailing list, to see if it can do what you
need. Otherwise, I think that if I wanted something like this I might
start with a vertical frame inside a scroll window, and place multiline
labels inside the vertical frame.