TppDesigner's MergeMenu missing if caFree is set in OnClose event
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
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
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com