Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Crosstab not showing Column Caption correctly??

edited July 2006 in General
Delphi 6
RB 6.03

Hi there

I have a crosstab, of which I have changed a header caption using :-


procedure TfReports.ppCrossTab1GetCaptionText(Sender: TObject;
aElement: TppElement; aColumn, aRow: Integer;
const aDisplayFormat: String; aValue: Variant; var aText: String);
begin
if (aRow = 0) and (aColumn = 1) then
aText := 'All this text does not show in the cell';
end;


However, all of the text does not show in the cell. Do you have any
suggestions, how I can force the crosstab to show all of the caption?

Many thanks

Lee Parvin

Comments

  • edited July 2006
    Hi Lee,

    In my testing with the exact code below and RB 10.03, the entire caption
    showed up correctly. As a test, try downloading a trial version of RB 10.03
    for Delphi 6 and test with that. Be sure to back up any templates you load
    and that you have the RB 6.03 install file saved in case you need to revert
    back to the older version.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.