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

TbcRotatedLabel

edited October 2009 in General
Hello,

I am working with some old reports and they contain TbcRotatedLabel. I
believe I included this code provided by CoolDev BuilderControls package,
but I am stumped why the components are now called TRotatedLabel and not
TbcRotatedLabel. I am also missing TbcDBRotatedLabel.

Can anyone shed any light on this change? It's an issue because we have
TbcRotatedLabel in the reports and now they will not load unless they are
manually modified to the new type.

Thanks,

Kevin

Comments

  • edited October 2009

    We never had any 'Tbc' classes.Perhaps you had a different version than what
    was on our web site. We have had the source code on our site for many years.

    Have a look at the source, perhaps you can modify it to suite your needs.
    Note that RB 9 and later includes built-in support for rotation, therefore
    we modified the TRotatedLabel class to look like this..

    TRotatedLabel = class(TppLabel)
    end;

    You could do the same for your Tbc classes, like this...

    TbcRotatedLabel = class(TppLabel)
    end;

    TbcDBRotatedLabel = class(TppDBText)
    end;


    You also need to register the classes as shown in Initialization section at
    the bottom.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.