I am trying to add an image (16x16) to a panelGadget but it is not working.
Here is my code.
Enumeration
#Image_Image_1
#Image_Image_2
#image_Image_3
#image_Image_4
#image_Image_5
#Image_Image_6
#Image_Image_7
EndEnumeration
DataSection
Image_Image_1:
IncludeBinary "new.png"
Image_Image_2:
IncludeBinary "open.png"
Image_Image_3:
IncludeBinary "save.png"
Image_Image_4:
IncludeBinary "count.png"
Image_Image_5:
IncludeBinary "preview.png"
Image_Image_6:
IncludeBinary "Notepad_16x16.png"
Image_Image_7:
IncludeBinary "printer.png"
EndDataSection
The PanelGadget is already created, I am now adding a new Panel.
AddGadgetItem (Panel_0, -1, "[]")
SetGadgetItemImage(Panel_0,GetGadgetState(Panel_0),CatchImage(#Image_Image_6, ?Image_Image_6))
What am I doing wrong?
