Problem with OnGetText event
Hi,
I'm having a problem with the OnGetText event of a TPPLabel
The code I'm using is as follows:
procedure TReportTicket2A5.ppLabel1GetText(Sender: TObject; var Text:
String);
begin
text := 'Receival';
if TicketQType.value = 'C' then
text := 'Container';
end;
I'm finding that even though the code runs, and assigns 'Text' a string, the
label remains to be the existing caption/text that was assigned to it.
This was working fine previously, until I installed 10.07.
Thanks & Regards
Adam.
I'm having a problem with the OnGetText event of a TPPLabel
The code I'm using is as follows:
procedure TReportTicket2A5.ppLabel1GetText(Sender: TObject; var Text:
String);
begin
text := 'Receival';
if TicketQType.value = 'C' then
text := 'Container';
end;
I'm finding that even though the code runs, and assigns 'Text' a string, the
label remains to be the existing caption/text that was assigned to it.
This was working fine previously, until I installed 10.07.
Thanks & Regards
Adam.
This discussion has been closed.
Comments
www.wsd.net.au/temp/rbuilder.zip
Not sure, but it may have something to do with sub-reports?
Best Regards
Adam.
There is a patch available that fixes this issue. Please send an email to
support@digital-metaphors.com requesting the patch and we'll send it to you
asap.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com