Code: Select all
METHOD RoundBox( nRow, nCol, nBottom, nRight, nWidth, nHeight, oPen, nBGColor )
Let us see an example:
Code: Select all
#include "fivewin.ch"
function Main()
local oPrn
PRINT oPrn PREVIEW
PAGE
oPrn:Box( 500, 1000, 1500, 4000 )
oPrn:RoundBox( 1600, 1000, 2600, 4000, 400, 400 )
ENDPAGE
ENDPRINT
return nil
A wide rectangle on the top and a wide round rectangle of the same size at the bottom of the first rectangle. This is how we expect the boxes to be drawn and FWH1909 draws the boxes correctly like this as intended and expected:
But FWH1906 draws it totally wrong like this:
This was a serious bug that needs to be fixed sometime or other and is fixed in FWH1909.
In addition, the roundbox syntax is made consistent across windows, printer and pdf.
We regret the inconvenience caused to you in the process of fixing the bug. We request you to cooperate.