to fill a rect
Posted: Sun Jan 29, 2006 6:00 pm
I must refill a rect :
Someone can help me please
Regards
Code: Select all
METHOD Rectang( nTop, nLeft, nBottom, nRight, oPen ,nRecord) CLASS XXXXXXX
local hPen := if( oPen = nil, 0, oPen:hPen )
Local nX := oPen:nWidth / 2
IIF( nRecord == nil , nRecord := 0 , )
::GetDC()
MoveTo( ::hDC, nLeft, nTop )
LineTo( ::hDC, nRight, nBottom, hPen )
FillRect( nTop, nLeft, nBottom, nRight, nColor ) ?? it make me error
::ReleaseDC()
return nil
Someone can help me please
Regards