Syntax: %btnimage(button[,filename])

change the image assigned to a button to the given filename. If the filename is not present, the current bitmap filename is returned.


Create a button:

#BUTTON 1 {Protect} {cast 'circle of protection'}

Now, assign a bitmap image to the button:

#NOOP %btnimage(1,"protect.bmp")

To remove the bitmap from the button:

#NOOP %btnimage(1,"")

Contents btncol case