Indeed, simpler (ahaha the answer was in the SOURCE key word). Nevertheless, it refused to work until I did this slight change to your otherwise elegant code: REDEFINE BUTTON ID 504 OF oDlg WHEN nImage > 1 ACTION ( nImage--, oImage:REFRESH() ) REDEFINE BUTTON ID ...