OnGetText does not get called
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
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
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com