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

Toolbars customization possible?

edited January 2005 in End User
Hi,

it is possible to customize the toolbars from the designer?
We would like to remove items "New" an "Open" especially.

How can we do it?

Best regards,
Dmitri

Comments

  • edited January 2005

    You will need to look at the source code and possibly trace thru it a bit.

    The TppDesigner.Form property is of type TForm and can be used to access the
    TppDesignerWindow (a typecast is required). You can try using
    TppDesigner.ToolbarManager to access the toolbars.

    The timing of when the toolbars get created is delayed until the form is
    shown.

    uses
    ppEndUser, ppDsgner, ppDesignerTools;


    lDesigner := TppDesignerWindow(myDesigner.Form);
    lDesigner.ToolbarManager.Toolbars[]




    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited January 2005
    Thank you, Nard.
This discussion has been closed.