erlang

Erlang - simple function to find ALL text in listCtrl

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 S...

ERlang list Ctrl changing colors

Hi I am trying to change an individual item in a listCtrl in erlang. I initialize listCtrl then I goto set the item as follows: wxListCtrl:setItem(ListCtrl, Row, 1, io_lib:format("~.2f",[VolumeB + 0.00 ])), wxListCtrl:setItemBackgroundColour(ListCtrl, 1, ?wxRED), Problem is the background color of the entire row is red, I only w...