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

Bug: ppBarCodeDialog form not destroyed in Runtime Report Editor?

edited December 2005 in General
Hi,
I'm checking all open forms on exiting my application. While using
quite intensive the RB 9.0x Runtime Report Editor I noticed, that
ppBarcodeDialog forms stays open (but not visible), although the forms
where ppreport and ppdesigner are placed are dynamically created,
show(ed) and closed with Aciton:=cafree. Is this some kind of resource
leak?
I assume TfrmHelperHost is also RB created?

Here is an output of my check routine
allocconsole;
for I:=0 to screen.formcount-1 do
with screen.forms[i] do
Begin
Writeln(I,' >',name,'< ',caption,' ',classname);
End;

1 >ppBarCodeDialog_1< Strichode Konfigurieren TppBarCodeDialog
2 >ppBarCodeDialog< Strichode Konfigurieren TppBarCodeDialog
3 >< TfrmHelperHost

Regards
Gunther

Comments

  • edited December 2005


    1. Thanks for reporting this issue. I researched this and the dialog is
    destroyed when the application ends. However it should be destroyed as soon
    as the dialog closes. I have created a patch for RB 9.03. Registered users
    of RB 9.03 can email support@digital-metaphors.com and request a patch.

    Alternatively, you can patch the code yourself. The unit name is
    ppPopMenu.pas. The method is TppCustomBarCodePopupMenu.ConfigureMenuClick.
    The code should look like the following. Modify the unit and copy to
    RBuilder\Lib. Delete the existing .dcu file and then rebuild your project to
    generate a new one.


    lBarCodeDlg.ShowModal;

    lBarCodeDlg.Free;



    2. > I assume TfrmHelperHost is also RB created?

    This is not an RB dialog. (I do not know what class library contains that
    class).




    Best regards,

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