The only way I know to resize images in DBpro is to make your image a sprite and use commands like
SCALE SPRITE, SIZE SPRITE and
STRETCH SPRITE.
Here's some mouse button code:
backdrop on:color backdrop 0
red=rgb(200,0,0)
yellow=rgb(200,150,0)
grey=rgb(100,100,100)
DO
clickable=1
if mousex()<200 or mousex()>400 then clickable=0
if mousey()<200 or mousey()>300 then clickable=0
BOX 200,200,400,300,grey,red,grey,red
if clickable=1 then ink yellow,0 else ink grey,0
set cursor 275,240:print "BUTTON"
if clickable=1 and mouseclick()=1 then set cursor 274,150:print "CLICKED!"
LOOP