I have an image control with ximage ( no bitmap no btnbmp)
and I try to write a text into
why not run ?
@ 240, 90 XIMAGE oImage ;
FILENAME ".\bitmaps\verde.jpg" NOBORDER ;
SIZE 250,200 ;
OF oFrmFiscale ;
UPDATE
oImage:bRClicked := { || NIL }
oImage:ltransparent:=.t.
oImage:nUserControl :=0Static Function Calcola()
local oBold
DEFINE FONT oBold NAME 'Tahoma' SIZE 0, -16 BOLD
////my calculation
cCod :="wwwwwwwwwwwww"
oImage:bPainted:= { |hDC|myfunc(hdc,oBold,cCod)}
return nil
Function myfunc(hdc,oBold,cCod)
FW_SayText( hDC, ;
cCod, ;
{ 150, 32, 108, 25 },,oBold, CLR_GREEN, , .f. )
return nilwhy not run ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com