Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Conditional color a TfrxMemoView


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
pss edn

Posts: 45
Registered: 1/13/04
Conditional color a TfrxMemoView  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 1, 2016 10:15 AM
I am using Delphi XE7 and FastReport 5 Embarcadero Edition.
I want to know if it is possible to conditional color the text of a TfrxMemoView using a field in the report.
As i have no access to the Events tab in the Embarcadero Edition, I am trying to do so with this code in the highlight tab of the field, something like this

TfrxMemoView(report.FindObject('Memo1')).color:=[RDS."FieldColor"];

But I get the error "Error in expression, ';' expected. I suppose that I can not inseert pascal code in the highlight tab, so is it possible to do what I need
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02