Hello Daniel, I added only one Line in the Sample above without any changes and the Buttons are working fine : ACTIVATE DIALOG oDlg ON PAINT (oBmp1:LoadBmp(cFile), ; nBtnIdx := INT(nImgHeight / 3), ; oBmp1:Move( 10, 0, nImgWidth, nImgHeight, .f. ), ; oButton1:Move( 30, oDlg:nWidth - 75, .f. ), ...