I made a test static oPanel Function Main() Local oPanel,oBrush,oWnd DEFINE BRUSH oBrush FILENAME "mare.bmp" DEFINE WINDOW oWnd oPanel:= TScrollPanel():New(40,2,400,400,oWnd) oPanel:SetBrush(oBrush) oWnd:oclient:=oPanel ACTIVATE WINDOW oWnd maximized Return nil let me give this error ...