BMPBUTTON #handle.ext, filespec, returnVar, corner, posx, posy
This statement adds a button that displays an image to a window created with the OPEN command.

print #handle.ext, "bitmap bitmapname"
This command sets the bitmap displayed on the button to be one that has been loaded previously with the LOADBMP command. "bitmapname" is not the filename of the bitmap, but the name given to it by LOADBMP.

print #handle.ext, "setfocus"
This causes the control to receive the input focus. This means that any keypresses will be directed to the control.

print #handle.ext, "enable"
This causes the control to be enabled.

print #handle.ext, "disable"
This causes the control to be inactive and grayed-out.



