[Implemented] GetGadgetState() for ButtonImageGadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

[Implemented] GetGadgetState() for ButtonImageGadget

Post by fsw »

SetGadgetState() is also used for ButtonImageGadgets to change the current image of the gadget.

How about using GetGadgetState() to retrieve which image is the current one :?: