Compiling a procedure with the fwh release April/May 2019 I have an error with FW_SayText
in fact, a number was printed in the blue spot
on source I made :
//FW_SayText( ::hDCOut, cText, aRect, cAlign, oFont, nClrText, nClrBack )
oBtn[1]:bPainted := { |hDC| FW_DrawImage( hDC, ".\bitmaps\ombrellone.bmp", { 2, 1, 124, 62 } ), ;
FW_SayText( hDC, str(nOmbrellone1), { 7, 45, 98, 75 },,oBold2, CLR_BLUE, CLR_BLUE),;
FW_SayText( hDC, cPrice, { 117, 91, 95, 155 },,oBold, CLR_HRED, CLR_YELLOW),;
FW_SayText( hDC, ggiorni, { 115, 1, 95, 45 },,oBold, CLR_CYAN, CLR_YELLOW )}
any solution please?
FW_SayText error
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
FW_SayText error
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: FW_SayText error
Silvio,
regards
Uwe
FW_SayText( hDC, str(nOmbrellone1), { 7, 45, 98, 75 },,oBold2, CLR_BLUE, CLR_BLUE),;oBtn[1]:bPainted := { |hDC| FW_DrawImage( hDC, ".\bitmaps\ombrellone.bmp", { 2, 1, 124, 62 } ), ;
FW_SayText( hDC, str(nOmbrellone1), { 7, 45, 98, 75 },,oBold2, CLR_BLUE, CLR_BLUE),;
FW_SayText( hDC, cPrice, { 117, 91, 95, 155 },,oBold, CLR_HRED, CLR_YELLOW),;
FW_SayText( hDC, ggiorni, { 115, 1, 95, 45 },,oBold, CLR_CYAN, CLR_YELLOW )}
regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: FW_SayText error
Uwe, I made
oBtn[1]:bPainted := { |hDC| FW_DrawImage( hDC, ".\bitmaps\ombrellone.bmp", { 2, 1, 124, 62 } ), ;
FW_SayText( hDC, str(nOmbrellone1), { 7, 45, 98, 75 },,oBold2, CLR_BLACK, CLR_BLUE),;
FW_SayText( hDC, cPrice, { 117, 91, 95, 155 },,oBold, CLR_HRED, CLR_YELLOW),;
FW_SayText( hDC, ggiorni, { 115, 1, 95, 45 },,oBold, CLR_CYAN, CLR_YELLOW )}
and it is the same
if I made
FW_SayText( hDC, str(nOmbrellone1), { 7, 45, 98, 75 },,oBold2, CLR_BLACK, ),;
I see this ( see the first)
oBtn[1]:bPainted := { |hDC| FW_DrawImage( hDC, ".\bitmaps\ombrellone.bmp", { 2, 1, 124, 62 } ), ;
FW_SayText( hDC, str(nOmbrellone1), { 7, 45, 98, 75 },,oBold2, CLR_BLACK, CLR_BLUE),;
FW_SayText( hDC, cPrice, { 117, 91, 95, 155 },,oBold, CLR_HRED, CLR_YELLOW),;
FW_SayText( hDC, ggiorni, { 115, 1, 95, 45 },,oBold, CLR_CYAN, CLR_YELLOW )}
and it is the same
if I made
FW_SayText( hDC, str(nOmbrellone1), { 7, 45, 98, 75 },,oBold2, CLR_BLACK, ),;
I see this ( see the first)
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC