Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: How to highlight only Text and Not Entire Field Post Reply Post New Topic
Author Message
JohnH1976
Newbie
Newbie
Avatar

Joined: 28 Jan 2019
Location: United States
Online Status: Offline
Posts: 6
Quote JohnH1976 Replybullet Topic: How to highlight only Text and Not Entire Field
    Posted: 04 Mar 2019 at 7:31am
Hello:

I have a field that stretches the entire width of the page, about 7.5". If I add a highlight (color background) to the field, the entire field receives the highlight, regardless of the length of the data in the field. How can I highlight just the returned data?

IP IP Logged
kevlray
Admin Group
Admin Group
Avatar

Joined: 29 Oct 2009
Online Status: Offline
Posts: 1587
Quote kevlray Replybullet Posted: 04 Mar 2019 at 10:18am
Just the 'Returned Data'? Please explain.
IP IP Logged
JohnH1976
Newbie
Newbie
Avatar

Joined: 28 Jan 2019
Location: United States
Online Status: Offline
Posts: 6
Quote JohnH1976 Replybullet Posted: 04 Mar 2019 at 12:20pm
It's simply the contents of the field. I'm looking to highlight just the information that gets returned, not the entire space allotted to the field.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Mar 2019 at 3:22am
I am not seeing anyway to do this. I thought maybe through HTML but that didn't seem to work in my tests.
Can you just change the font color rather than the background color?
IP IP Logged
Valert16
Groupie
Groupie
Avatar

Joined: 21 Mar 2016
Location: Spain
Online Status: Offline
Posts: 57
Quote Valert16 Replybullet Posted: 05 Mar 2019 at 8:09am
Try this

Right click the field --> Format Field... --> Border --> Tight Horizontal
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 05 Mar 2019 at 8:12am
Nice Valert16, never needed to use that attribute before. Thanks for sharing.
IP IP Logged
JohnH1976
Newbie
Newbie
Avatar

Joined: 28 Jan 2019
Location: United States
Online Status: Offline
Posts: 6
Quote JohnH1976 Replybullet Posted: 05 Mar 2019 at 10:11am
Valert16, thank you so much!
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.029 seconds.