tags:

views:

28

answers:

0

Hi I have a program that displays a simple list in report view

ListCtrl = wxListCtrl:new(Tab, [{winid, ?ANYl}, {style, ?wxLC_REPORT bor ?wxLC_SINGLE_SEL},{size, {695, 500}}]),

So A list is generated with this code and then I input data using setItem. Then when someone clicks on an item in the list (row is highlighted) I can get the SelectedRowNumber.

My issue is when I use:

F = wxListCtrl:getItemText(ListCtrl ,SelectedRowNumber),

I only get the very first column of the row. I need to know what ALL the columns of the row are. How is it possible?????

BTW: heres the man page http://www.erlang.org/~dgud/wxerlang/doc/wxListCtrl.html