Save to XLS - Custom componets GetTheText value isn't used
Hey Guys,
Since upgrading to V12 a custom component we have no longer shows the
correct value when we print to file (previewing the report works fine).
Stepping through the GetTheText Function we return the correct value but
when I view the XLS it's incorrect.
We're using Delphi 2007 and 12.05 of RB
Any ideas?
Regards,
Brenton McSweyn
Happen Business
Since upgrading to V12 a custom component we have no longer shows the
correct value when we print to file (previewing the report works fine).
Stepping through the GetTheText Function we return the correct value but
when I view the XLS it's incorrect.
We're using Delphi 2007 and 12.05 of RB
Any ideas?
Regards,
Brenton McSweyn
Happen Business
This discussion has been closed.
Comments
properties. The RB components implement special logic to handle the
OnGetText case. Open ppCtrls.pas and search for OnGetTextUsed. This is an
internal boolean which is set in TppCustomText.GetText and used in
TppDBText, TppVariable, and TppSystemVariable method implementations for
PropertiesToDrawCommand.
In my testing this works correctly for the RB components.
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
fixed the problem.
Thanks for the help.