The test
@ 120,500 SCROLLMSG oMsg TEXT cText SIZE 300, 150 PIXEL OF oDlg2 ;
FONT oFont COLOR CLR_HRED, CLR_YELLOW SPEED 2
oMsg:lBox := .F.-----------------
Add in scrolmsg.prg
DATA lBox INIT .t. METHOD New( nRow, nCol, nWidth, nHeight, cText, oWnd, oFont, ;
nSpeed, nClrText, nClrBack, lHoriz, lPixels, lDesign, cVarName,
lBox ) CLASS TScrollMsg
DEFAULT
...
...
lBox := .t.METHOD Paint() CLASS TScrollMsg
if ::lBox::oWnd:Box( ::nTop - 1, ::nLeft - 1, ::nBottom + 1, ::nRight + 1 )
endifregards
Uwe