Page 2 of 2

Re: ListIconGadget with just some checkboxes

Posted: Sun Feb 01, 2026 6:41 pm
by mk-soft

Code: Select all

count = CountGadgetItems(Gadget) - 1
For item = 0 To count
  If GetGadgetItemState(Gadget, item) & #PB_ListIcon_Checked
    ;TODO
  Else
    ;TODO
  EndIf
Next

Re: ListIconGadget with just some checkboxes

Posted: Sun Feb 01, 2026 8:16 pm
by jacdelad
mk-soft wrote: Sun Feb 01, 2026 6:41 pm

Code: Select all

count = CountGadgetItems(Gadget) - 1
For item = 0 To count
  If GetGadgetItemState(Gadget, item) & #PB_ListIcon_Checked
    ;TODO
  Else
    ;TODO
  EndIf
Next
No.

Re: ListIconGadget with just some checkboxes

Posted: Sun Feb 01, 2026 10:25 pm
by Paul
jacdelad wrote: Sun Feb 01, 2026 6:23 pm How does this readd the checkbox?
I think they are interpreting your request as "read" instead of "re-add"

Re: ListIconGadget with just some checkboxes

Posted: Mon Feb 02, 2026 10:07 am
by jacdelad
Seems so. :lol: