![]() ![]() GetGadgetState(): Returns the first selected item or -1 if there is no item selected. SetGadgetItemImage(): Changes the current image of the specified item. Like with AddGadgetItem(), it is possible to set the text for several columns at once, with the Chr(10) separator. SetGadgetItemText(): Changes the current text of the specified item. GetGadgetItemText(): Returns the current text of the specified item. SetGadgetItemState(): Changes the current state of the specified item. GetGadgetItemState(): Returns the current state of the specified item. SetGadgetItemData(): Stores a value with the item. GetGadgetItemData(): Returns the value that was stored with item. CountGadgetItems(): Returns the number of items currently in the #Gadget. ClearGadgetItems(): Remove all the items. ![]() AddGadgetItem(): Add an item (with an optional image in the standard 16x16 icon size). RemoveGadgetColumn(): Remove a column from the gadget. AddGadgetColumn(): Add a column to the gadget. The following functions can be used to act on the list content: Then the return-value is the auto-generated gadget number on success.Ī 'mini help' can be added to this gadget using GadgetToolTip(). If #PB_Any was used as the #Gadget parameter Returns nonzero on success and zero on failure. #PB_ListIcon_AlwaysShowSelection: No effect (for PureBasic source compatibility only). #PB_ListIcon_FullRowSelect : No effect (for PureBasic source compatibility only). #PB_ListIcon_GridLines : Display separator lines between rows and columns. #PB_ListIcon_MultiSelect : Enable multiple selection. ![]() #PB_ListIcon_CheckBoxes : Display checkboxes in the first column. It can be a combination of the following values: The width of the first column in the gadget.įlags to modify the gadget behavior. The gadget is created with one initial column. The title for the first column in the gadget. The position and dimensions of the new gadget. Result = ListIconGadget(#Gadget, x, y, Width, Height, Title$, TitleWidth ) DescriptionĬreates a ListIcon gadget in the current GadgetList.Ī number to identify the new gadget. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |