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

MergeMenu with GroupIndex give me "Toolbar item index out of range"

edited March 2006 in End User
ReportBuilder 10.02
Delphi 6 Update Pack 2

Hi,

I've just upgraded to RB10 and I found this problem:
I attached a TMainMenu component to a TppReportExplorer; the Main menu has
an Item with a value greater than zero in the GroupIndex property.
At runtime, launching the report explorer I get an error: "Toolbar item
index out of range".
The same problem happens with TppDesigner too.

May you fix this or give me a workaround please?
Thank you in advance,

Massimiliano Trezzi

Comments

  • edited March 2006

    Thanks for reporting this issue.

    I created a patch for RB 10.02. Please send an email request to
    support@digital-metaphors.com





    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2006
    thank you for the patch, but before requesting it, I report another issue
    with MergeMenu:
    this is an issue I saw in older versions(7.02), I cannot see it with 10.02,
    but I feel it's here again.
    The "merge" happens(happened) only the first time I show the report
    explorer, from the second time my custom menu disappear.
    To reproduce it, attach a merged menu to the report explorer and show the
    report explorer almost two times. The same problem happens with the report
    designer too.
    If you fixed it, please forgive me, if not, I think it's better to fix it.

    Thank you in advance.
    Massimiliano Trezzi





  • edited March 2006

    By design, the merge process was deleting the original menu items, that is
    why it only worked once. However I see your point and have made a patch so
    that it work as you describe. :)



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited March 2006
    Thanks a lot,
    I'm waiting to send you the request, because I have other open issues and if
    you fix them I'm going to ask you them together.

    Hi,
    Massimiliano Trezzi

  • edited May 2006
    Nard

    Ive Applied you Patch to ppToolbarTBX, however i still get the error of
    " Toolbar item index out of range"

    Massimiliano , did the patch work for you?

    Ian Robinson



  • edited May 2006
    Nard

    I get this problem is with
    D2006 and RB 10.2

    regards

    Ian Robinson



  • edited May 2006

    Please create a simple example that we can run here. Send in zip format to
    support@digital-metaphors.com.




    Best regards,

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