Skip to Content
0
Apr 25, 2014 at 03:32 PM

Changing color of the font

31 Views

I have developed Crystal Report that has drill-downs. Only Group Header 1 is displayed when user opens the report. Report allows user to click on Group Header 1 to display never level - Group Header 2, then they can click on Group Header 2 to drill down further - pretty much the standard drill-down functionality.

What I would like to add is functionality to change font color and underline depending on viewing mode. Whenever user is using report interactively I would like to change font color to blue and underline - traditional hyperlink convention. However if users decides to print or export report I would like to change font color to black without underline checked.

I know where to plug formula to calculate font color and turn on/off underline for the font but how can I determine in what viewing state report is.

Here is an example of the font that I would like to display to users when they use report in interactive mode


Airline Frequent Flier Miles

Pan American World Airways 50404

Air Pennsylvania 10000

Here is an example of the font that I would like to use whenever user prints report or exports report

Airline Frequent Flier Miles

Pan American World Airways 50404

Air Pennsylvania 10000