SetGadgetItemImage()

语法

SetGadgetItemImage(#Gadget, Item, ImageID)
概要
Changes the image of the specified gadget item.

参数

#Gadget The gadget to use.
Item The item to change the image. The first item in the gadget has index 0.
ImageID The new image to use for the gadget item. The used image should be in the standard 16x16 size. Use the ImageID() command to get the ID for this parameter.

返回值

无.

Remarks

This is a universal function which works for the following gadgets:

- ComboBoxGadget()
- ListIconGadget()
- PanelGadget()
- TreeGadget()

参阅

AddGadgetItem()

已支持操作系统

所有

<- SetGadgetItemData() - Gadget Index - SetGadgetItemState() ->