Hide Items in File Menu of Designer

Hi again,

another question. Can i hide or disable the "New Dialog" and "Save as" menu entries in the file menu of the designer during runtime ?

With the Restrictions Property of the Designer i only can hide both "Save" and "Save as".


regards

J?¶rg

Comments

  • gpigpi
    edited 2:00AM
    Use something like this:
    procedure TForm1.frxDesigner1Show(Sender: TObject);
    begin
      if Sender is TfrxDesignerForm then
        begin
          TfrxDesignerForm(Sender).OpenB.Visible:=False;
        end;
    end;
    

Leave a Comment