Have You an Idea to create it on xharbour & fw
Regards
.....
Define Brush oPenR COLOR CLR_HBLUE
.......
oGraficos:FILLRECT( nLinea+nVertic+4, nColumnaInicio+nHoriz2, nLinea+nVertic+14, nColumnaFinal+nHoriz2, oPenR ,recno())
METHOD Fillrect( nTop, nLeft, nBottom, nRight, oPen ,nRecord) CLASS TPlan
local hPen := if( oPen = nil, 0, oPen:hPen )
Local nX := oPen:nWidth / 2
IIF( nRecord == nil , nRecord := 0 , )
::GetDC()
Rectangle( ::hDC, nTop, nLeft, nBottom, nRight, hPen )
* MoveTo( ::hDC, nLeft, nTop )
* LineTo( ::hDC, nRight, nBottom, hPen )
FillRect( ::hDC, { nTop + 2, nLeft + 2, nBottom, nRight }, hpen)
::ReleaseDC()
if nRecord > 0
aadd(::aItems,{nTop-nX,nLeft-nX,nBottom+nX,nRight+nX,nRecord})
endif
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 77 guests