Home End User

hide button

edited August 2002 in End User
Hello

In the Designer, how is it possible to hide some toolbutton (for exemple:
the 'new file button' or the 'open file button' )?

Thanks

Comments

  • edited August 2002
    We have an example that shows how to do that. I send it along via e-mail...

    Cheers,

    Tom Ollar
    Digital Metaphors Corporation
  • edited August 2002
    Ok for the Menu but my problem is on the toolbutton in toolbar;

    For Example: I can set invisible the Item on the menu whith :
    aMenu.Items[0].Items[2].visible := False;

    But the ToolButton in the ToolBar is always visible and actif, that is my
    problems.

    Olivier

    Thanks

  • edited August 2002
    Ok. I'll send you the 'CustomizeStandardToolbar' example as well...

    --
    Cheers,

    Tom Ollar
    Digital Metaphors Corporation
  • edited August 2002
    I'm sorry but there is an compilation error on
    TForm1.FormCreate(Sender: TObject);
    ==> FToolbarManager := TppDesignerWindow(ppDesigner1.Form).ToolbarManager;
    'identificateur non d?clar? : 'ToolBarManager' '.
    Thanks

This discussion has been closed.