Page 2 of 2
Posted: Tue May 01, 2007 7:59 pm
by netmaestro
Gadget 1 is the combo box. It is the same control used on all the rows, so if it isn't cleared it will be set to show whatever was selected last time, which probably isn't desirable.
edit: thanks!
Posted: Thu Jan 03, 2008 11:09 am
by Marco2007
Excellent code

, which I don`t understand
How can I create e.g. two different combos (col 3 + col 4)?
Wouldn`t it be good to add this for AllowLVedits? Well, would this be possible at all?
Sometimes I think it would be much more easier to learn chinese...
Posted: Thu Jan 03, 2008 1:35 pm
by dige
Well done Netmaestro!
Posted: Thu Jan 03, 2008 2:00 pm
by milan1612
Nice one netmaestro

Posted: Fri Jan 04, 2008 8:23 pm
by Marco2007
...SetGadgetItemColor(#Gadget, Eintrag, FarbTyp, Farbe [, Spalte])...isn`t working anymore
#LVS_OWNERDRAWFIXED?
Re: ListIcon FillByGadget
Posted: Sun Jan 02, 2011 2:47 am
by jassing
Nice demo -- but one thing that could use tweaking is that when you select something, say "Toronto" and then move on -- it's fine -- but if you go back and click the combo again -- woa, what was my original choice? I'm sure it's easy to adjust & I'll get to it in time; but if someone had already addressed that one...
Re: ListIcon FillByGadget
Posted: Mon Jan 03, 2011 3:00 am
by Rook Zimbabwe
ya know when NetMaestro and sRod get together... the result is whammo MAGIC!
Fantastic NetMaestro and great idea sRod... I plan to integrate this in the future!

Re: ListIcon FillByGadget
Posted: Fri Apr 29, 2011 9:35 am
by leodh
Hi,
I am looking for a way to organise a lot of data that needs to be displayed to the screen.
This data may need to be edited sometimes and a listicongadget with a combobox in a cell looks just what I need.
I played with the code above but I can not figure out how to make only a few cells as comboboxgadgets.
Is there a way to have only selected cells as comboboxgadgets on the listicongadget
Thanks Leo
Re: ListIcon FillByGadget
Posted: Mon Apr 16, 2018 4:58 pm
by ebs
I know this is a fairly ancient post, but I just discovered it and it's almost exactly what I need.
My only issue is that the first column of the listicon has checkboxes, and I don't know how to "ownerdraw" them.
Is there any way to let Windows draw the first column?
Thanks,
Eric
Re: ListIcon FillByGadget
Posted: Wed Apr 18, 2018 11:16 am
by Kwai chang caine
Yes very nice code, and apparently not see it before
I have just replacing
Code: Select all
EventType() = 1 by #PB_EventType_Change
EventID = #WM_CLOSE by #PB_Event_CloseWindow
And delete "CreateGadgetList(WindowID(0))"
For that works fine here

Thanks a little bit late for sharing
