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

TppDesigner's MergeMenu missing if caFree is set in OnClose event

edited November 2003 in General
Hi,

I found a strange behavior that might be a bug in TppDesigner's mergemenu.
I use MergeMenu as described in help file and everything work just fine
except one situation:

1. Create A onclose event for TppDesigner and set the Action := caFree;

2. re-run the application to show the designer window as ShowModal.

The first time you show the designer window, the merge menu will show out.
Then close the designer window, and open again, the merge menu will NOT show
out.

Regards,
Tony

Comments

  • edited November 2003
    Hi Tony,

    I was able to recreate this issue and found that we have had many issues
    like this one in the past with the MergeMenu feature. I would recommend
    staying clear of using a MergeMenu and customizing the Designer menu by
    directly accessing the TppDesigner.Menu property. This gives you access to
    the actual TMainMenu of the designer and allows you to add or remove items
    as you need.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.