TfrxTableCell doesnt Trigger OnBeforePrint Event

Hi!

As the title says, i have a report with a table with lots of TfrxTableCell which i have linked to boolean fields.

Now i want to translate the boolean values and change colors in case of true/false, but when i add an OnBeforePrint event to the TfrxTableCell's, it doesnt get called. (The TfrxTableCell is a descendent of the TFrxMemoview right? Shouldnt this work?)

I can get the TfrxTableObject OnBeforePrint to be called, is this the way it is supposed to work? If so, how can i use this event in the TfrxTableObject to access the cells and format them if needed.


Thanks

Comments

  • OnBeforePrint event doesn't available for TfrxTableCell. Try to use TfrxTableCell.Highlight property

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.