I insert a brush into image and I try to make a scroll of a dialog
when i move the scroll the bruh make error see here :

How I can resolve it ?
DEFINE BRUSH oBrush1 FILENAME ".\bitmaps\spiaggia.bmp"
DEFINE DIALOG oDlg SIZE 1100,700 BRUSH oBrush1 ;
STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;
WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME,WS_VSCROLL,WS_HSCROLL )
ACTIVATE DIALOG oDlg CENTERED ;
ON INIT oScrWnd:=TScrWnd():New( oDlg,1,28,1,18)
when i move the scroll the bruh make error see here :

How I can resolve it ?
DEFINE BRUSH oBrush1 FILENAME ".\bitmaps\spiaggia.bmp"
DEFINE DIALOG oDlg SIZE 1100,700 BRUSH oBrush1 ;
STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;
WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME,WS_VSCROLL,WS_HSCROLL )
ACTIVATE DIALOG oDlg CENTERED ;
ON INIT oScrWnd:=TScrWnd():New( oDlg,1,28,1,18)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

