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

Add to Menu in Explorer Dialog box?

edited August 2007 in General
Hi Guys,

How can I add additional options to the Explorer Dialog?

Currently there are File, View & Help.

What would I do if I say want yo add an Exit item.

Regards & TIA,

Ian

--

Comments

  • edited August 2007
    Hi Ian,

    You can customize the main menu of the Report Explorer using the MergeMenu
    property. If you need more customization, you can also completely replace
    the explorer form as well.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2007
    Nico Cizik (Digital Metaphors) wrote:


    HI Nard,

    Thanks for that. Is there an example of this in any of the Demos?

    Regards,

    Ian

    --
  • edited August 2007
    OK. I figured out that I have to use the TppExplorer.Form.Menu route to modify
    the Menu however I cannot find anything that explains, in my simple terms, how
    to do it.

    Any assistance/giudance appreciated.

    Regards,

    Ian



    --
  • edited August 2007
    Hi Ian,

    An example of completely replacing the report explorer form is located in
    the Tutorials directory... \RBuilder\Tutorials\Complete\II.
    Applications\04. End-User with Custom Explorer\... Depending on how much
    customization you are trying to do, this might be the easiest route.

    Using the MergeMenu property, you simply need to create your own TMainMenu
    object in Delphi and assign it to this property.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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