I have a get sample and a Ximage on a dialog
and I wish show anbother image when the get is modified
first problem the image is a ng and is not transparent , why ?
nRow+=2
@ nRow,180 XIMAGE oBmp ;
RESOURCE "CLIP_OFF";
NOBORDER ;
SIZE 30,30 PIXEL;
OF oFolder:adialogs[1] ;
UPDATE
oBmp:bRClicked := {||NIL }
oBmp:ltransparent:=.t.
oBmp:nUserControl :=0
nRow+=10
@ nRow,10 GET aGet[1] VAR CUSTOMER->FIRST OF oFolder:adialogs[1] PIXEL FONT oFont2 SIZE 200, 20
ACTIVATE DIALOG oTabella CENTERED ;
on INIT Refresh_modificato(aGet,oBmp)
static Function Refresh_modificato(aGet,oBmp)
For n=1 to 1
aGet[n]:bChange:={||(oBmp:SetSource('CLIP_ON') ,oBmp:refresh())}
Next
return nil
Second Problem How I can reload the xmage ? Itried with reload,Setsource,LoadImage
change xImage on line
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
change xImage on line
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC