I insert on a folder a image oImagen = TImage():Define(,"scaf.bmp" ) ... oGrid:adialogs[1]:bPainted := {|hDC| (PalBmpDraw( hDC, 0, 0, oImagen:hBitmap,, oGrid:adialogs[1]:nWidth, oGrid:adialogs[1]:nHeight,, .T.) ) } and on this folder many btnbmp buttons with png file @ nrow,ncol ...