I made
local aAttivo := {TImage():Define( "BTN_PNG_TICK"),TImage():Define("BTN_PNG_TICK_RED")}
REPORT oRep PREVIEW
COLUMN TITLE "Attivo" DATA "" SIZE 5 IMAGE IMGDATA aAttivo[ IIF( oElementi:ELATTIVO,1,2)] HEIGHT 1.2 ALPHALEVEL 128
but I not see any images
it's perhaps the resources are png file ?
Problem to Print Image
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Problem to Print Image
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Problem to Print Image
Please keep it simple like this:
where "ON" and "OFF" are resource names.
Code: Select all
COLUMN TITLE "IMAGE" DATA If( oStates:RecNo() % 2 == 0, "ON", "OFF" ) IMAGE
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: Problem to Print Image
it seem run ok
some has change something on Report class ?
another ...look 3th column of report
I have a fields with code color
I wish print an space with the color of the code color , any solution ?
I'm thinka a solution type
COLUMN TITLE "Colore" CHARTDATA oElementi:ELCOLORE COLOR GetBackColor(oElementi:ELCOLORE)
some has change something on Report class ?
another ...look 3th column of report
I have a fields with code color
I wish print an space with the color of the code color , any solution ?
I'm thinka a solution type
COLUMN TITLE "Colore" CHARTDATA oElementi:ELCOLORE COLOR GetBackColor(oElementi:ELCOLORE)
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Problem to Print Image
NO.some has change something on Report class ?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: Problem to Print Image
now I could be satisfied even if I wanted to color the third column of course with the colors of each record
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC