Tenía una función que pintaba 2 rectángulos y un relleno en Xailer 1.9, ahora me ha dejado de funcionar con xailer 6.1 el pintar el rectángulo.
Código: Seleccionar todo
WITH OBJECT oCanvas := TCanvas():Create(Screen)
:hDC := hDC
:Rectangle( {nLeft,nTop, nWidth, nHeight}) // AHORA NO PINTA NADA
:FillRect( {nLeft+1,nTop+1, nWidth-1, nHeight-1}, oBrush)
:Rectangle( {nLeft2,nTop2, nWidth2, nHeight2}) // AHORA NO PINTA NADA
END
Código: Seleccionar todo
WITH OBJECT oCanvas := TCanvas():Create(Screen)
:hDC := hDC
Rectangle(:hDC, nLeft,nTop, nWidth, nHeight)
// :Rectangle( {nLeft,nTop, nWidth, nHeight})
:FillRect( {nLeft+1,nTop+1, nWidth-1, nHeight-1}, oBrush)
// :Rectangle( {nLeft2,nTop2, nWidth2, nHeight2})
Rectangle(:hDC, nLeft2,nTop2, nWidth2, nHeight2)
END
¿ Que estoy haciendo mal?