[Gambas-user] changing the picture in a columnview item

Joshua Higgins joshiggins at ...1601...
Mon Feb 15 14:59:00 CET 2010


Hi list,

I'm creating a columnview item to show status, like this:

MachineView.Add("192.168.0.1", "router", Picture.Load("waiting.png"))
...
MachineView.Item[4] = "Waiting"

But then changing it later on as a status update comes in like this:

  MachineView[thekey][4] = "Online"

My question is, how can I change the picture that I originally created this
item with? I want to change it to either online.png or offline.png

Thanks.

-- 
joshua higgins
>>>>>>------



More information about the User mailing list