New Blog Post: PDF/A and Metadata

Control of the ReportTree popup menu in RB 17

edited February 2017 in General
Hello,

apparently something has changed in one of the later versions regarding
the control of the popup menu of ReportTree(window).

In the past I was hidding some menu items by

lReportTRee.PopupMenu.OnPopup := myEventhandler_ReportTree_PopupMenu_Popup;

...

procedure my Eventhandler_ReportTree_PopupMenu_Popup(Sender: TObject);
begin
...
if TppTBXPopupMenu(Sender).Items[i].Name = 'mniObjectInspector' then
TppTBXPopupMenu(Sender).Items[i].Visible := false
...
end;

Now it seems not to work anymore, as the name property of all the menu
items is empty (caption is set, but can vary due to language), so that
the complete menu is visible...

How can I control the menu items of the ReportTree (and other parts, if
they changed as well)?

Using RB 17.01 on XE7.

Best regards,
Mark

Comments

  • edited March 2017
    Hi Mark,

    I have tried sending an email to your posted address but it keeps
    getting rejected by your server with the following error.

    554-Bad DNS PTR resource record.

    If there is an alternate email we can use, please send a message to
    support@ with that address or you can give it to us here.

    --
    Best Regards,

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