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

ToolbarManager property in designer

edited June 2003 in General
Can anyone tell me how to access this property? RB v6. I have tried:

TppDesignerWindow(ppDesigner1.Form).ToolBarManager

but this fails - property doesn't exist. Indeed in the source it looks like
there is only a fToolBarManager and not accessible.

Thanks.

Jonathan Hyams

Comments

  • edited June 2003
    Jonathan,

    Be sure you have the ppDsgner unit included in your 'uses' clause.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2003
    ppDsgner is in my uses clause. The compiler generates the error "Undeclared
    identifier: ToolBarManager". Are you sure this is correct for my RB version?

  • edited June 2003
    Jonathan,

    Be sure you have the 'ppIDE' unit included in your 'uses' clause.

    HTH,
    Chris Ueberall;
  • edited June 2003
    ppIDE was not in my uses clause. I added it and it made no difference. Same
    error ("Undeclared identifier: ToolBarManager").

    my code is accessing TppDesignerWindow(ppDesigner1.Form).ToolBarManager.

  • edited June 2003
    Jonathan,

    I guess the property wasn't public in RB6, it is now in RB7.

    regards,
    Chris Ueberall;
  • edited September 2006
    I have the same problem.
    Included pDsgner, ppToolbars and ppIDE, but error "Undeclared identifier:
    ToolBarManager" persists.
    Property exists in RB 10?


    "Chris Ueberall [TeamDM]" escribi? en el mensaje
  • edited September 2006
    Hi Fernando,

    The toolbar architecture for RB 10 has been changed. Take a look at the
    following example on how to access and customize the toolbars and menus in
    the RB 10 designer.

    http://www.digital-metaphors.com/tips/Designer10_CustomizeMenusAndToolbars.zip

    --
    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.