Page 1 of 1

#PB_ListIcon_BorderLess Not found

Posted: Mon May 19, 2025 2:57 pm
by minimy
In ListIconGadget() #PB_ListIcon_BorderLess is not found
6.21 beta 7

Re: #PB_ListIcon_BorderLess Not found

Posted: Mon May 19, 2025 3:04 pm
by Fred
It's not a supported flag or I miss something ? https://www.purebasic.com/documentation ... adget.html

Re: #PB_ListIcon_BorderLess Not found

Posted: Mon May 19, 2025 3:33 pm
by Quin
Think you're right Fred, the help file for 6.12, 6.20, and 6.21 B9 all say this for the flags:
Flags (optional)
Flags to modify the gadget behavior. It can be a combination of the following values:
#PB_ListIcon_CheckBoxes : Display checkboxes in the first column.
#PB_ListIcon_ThreeState : The checkboxes can have an "in between" state.
#PB_ListIcon_MultiSelect : Enable multiple selection.
#PB_ListIcon_GridLines : Display separator lines between rows and columns.
#PB_ListIcon_FullRowSelect : The selection covers the full row instead of the first column (Windows and QT only).
#PB_ListIcon_HeaderDragDrop : The order of columns can be changed using drag'n'drop.
#PB_ListIcon_AlwaysShowSelection: The selection is still visible, even when the gadget is not activated (Windows only).
The #PB_ListIcon_ThreeState flag can be used in combination with the #PB_ListIcon_CheckBoxes flag to get checkboxes that can have an "on", "off" and "in between" state. The user can only select the "on" or "off" states. The "in between" state can be set programmatically using the SetGadgetItemState() function.