Focal Point
Drill down on an image [code]

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2687076495

December 02, 2010, 03:04 PM
Prasad
Drill down on an image [code]
Hello Folks,
I have two images on my report. one is an excel icon and other is a pdf icon. These reports are drilldowns to run the same report in excel or pdf format. I have the report written below. After i moved the postition of the images to the location i wanted. There always exists a small line or a dot which is again always a link. Can u please help me with this..


-SET &ECHO=ALL;

TABLE FILE CAR
PRINT
'CAR.ORIGIN.COUNTRY'
'CAR.COMP.CAR'
'CAR.CARREC.MODEL'
'CAR.BODY.BODYTYPE'
'CAR.BODY.SEATS'
'CAR.BODY.DEALER_COST'
'CAR.BODY.RETAIL_COST'
'CAR.BODY.SALES'
'CAR.SPECS.LENGTH'
'CAR.SPECS.WIDTH'
'CAR.SPECS.HEIGHT'
'CAR.SPECS.WEIGHT'
'CAR.SPECS.WHEELBASE'
'CAR.SPECS.FUEL_CAP'
'CAR.SPECS.BHP'
'CAR.SPECS.RPM'
'CAR.SPECS.MPG'
'CAR.SPECS.ACCEL'
'CAR.WARANT.WARRANTY'
'CAR.EQUIP.STANDARD'
HEADING
" "
" "
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
TYPE=REPORT,
IMAGE=APP/MS_EXCEL_ICON.GIF,
POSITION=(+5.000000 +0.000000),
TARGET='_blank',
FOCEXEC=app/carexl.fex,
$
TYPE=REPORT,
IMAGE=app/pdf_icon.gif,
POSITION=(+5.500000 +0.000000),
TARGET='_blank',
FOCEXEC=app/carpdf.fex,
$
ENDSTYLE
END
-EXIT



7.7.02, sql server
Windows
all output (Excel, HTML, PDF)
December 02, 2010, 03:55 PM
Waz
You can either change the POSITION from relative, (+nnn +nnn) to absolute (nnn nnn) or change the TYPE=REPORT to TYPE=HEADING or something else, for the images.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 02, 2010, 04:56 PM
Prasad
After changing the position.
On the left top corner there exists a small dot or a blue line which also acts as a link.

How do i get rid of that.

If we actually run the report you can see the small dot or a small blue line...


7.7.02, sql server
Windows
all output (Excel, HTML, PDF)
December 02, 2010, 05:08 PM
Waz
what does the code look like now ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 02, 2010, 05:46 PM
Prasad
I replaced TYPE=HEADING instead of TYPE=REPORT and this solved the problem. Now i dont see that dot. Thank you very much.

Is there a reason why this dot appears when we use TYPE=REPORT,


7.7.02, sql server
Windows
all output (Excel, HTML, PDF)
December 02, 2010, 05:53 PM
Waz
When you made the change with TYPE=REPORT, did you remove the + from the position ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!