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

OnGetText does not get called

edited June 2003 in General
I have two TppLabel's on a report. They are both on the title band.
The first one's OnGetText method is getting called fine. The second one's
OnGetText method does not execute.

After a hour or so of trying everything I just copied the first label and
pasted it, deleted the original second label, and renamed the newly pasted
label to the original second label's name and attaching the handler.

It now works. Is this a bug?

--
Reid Roman
Future Generation Software
http://www.fgsoft.com

Comments

  • edited June 2003
    Hi Reid,

    Are you loading a report template? If so you may be loosing the correct
    event handler corresponding to the label. Be sure that you assign the event
    handler in code after loading a template. See the templates thread in the
    Tech-Tips newsgroup for more information on this.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2003
    "Nico Cizik (Digital Metaphors)" wrote in
This discussion has been closed.