Re: [Gambas-user] Listview picture not showing...

2011-03-02 Thread Benoît Minisini
> >Excellent. Thank you for clarifying. Picture.Load not setting the > picture is counter-intuitive.. but OK... whatever works. > The "counter-intuitiveness" comes from the ability to use a static method (Picture.Load) on a real object. This is commonly allowed in object-oriented programmi

Re: [Gambas-user] Listview picture not showing...

2011-03-02 Thread Stephen Bungay
On 02/26/2011 04:41 PM, Fabien Bodard wrote: > 2011/2/26 Stephen Bungay: >>This has undoubtedly been asked before. >> >> GAMBAS 2.2 >> >>I am trying to add an icon to the listview items, to that end this >> code snippet should do the trick; >> >> Private SUB Initialize_Listview1() >>D

Re: [Gambas-user] Listview picture not showing...

2011-03-02 Thread Stephen Bungay
Thanks Fabien, sorry fir the delayed reply, it suddenly got really busy around here and this had to take a lower priority. I'll put that into practice. On 02/26/2011 04:41 PM, Fabien Bodard wrote: > 2011/2/26 Stephen Bungay: >>This has undoubtedly been asked before. >> >> GAMBAS 2.2 >> >

Re: [Gambas-user] Listview picture not showing...

2011-02-26 Thread Fabien Bodard
2011/2/26 Stephen Bungay : >   This has undoubtedly been asked before. > > GAMBAS 2.2 > >   I am trying to add an icon to the listview items, to that end this > code snippet should do the trick; > > Private SUB Initialize_Listview1() >   DIM Icon AS NEW Picture > >   Icon.Load("/home/username/mypic

[Gambas-user] Listview picture not showing...

2011-02-26 Thread Stephen Bungay
This has undoubtedly been asked before. GAMBAS 2.2 I am trying to add an icon to the listview items, to that end this code snippet should do the trick; Private SUB Initialize_Listview1() DIM Icon AS NEW Picture Icon.Load("/home/username/mypicture.png") ' This png file is 26x16 and