how to disable object toolbar by code

hi,
with the designer that displayed on my own form with five texts objects :
is it possible to hide object toolbar ? No need for it, already there are five texts objects on the page
is it possible to hide Data and code page? just we need page1.
the idea is to let the end user to positioning the texts Objects to print fixed data on it, so all of my needs is the designer page(page1) and five of text object and i will save the positions in the database so that later on i will print the data according to pre saved positions.
thanks in advance

Comments

  • edited 2:09AM
    did you find how to do that? I'm in the same place you were and need to disable object toolbar so that users don't use it.
  • gpigpi
    edited 2:09AM
    Try to use
    procedure TForm1.frxDesigner1Show(Sender: TObject);
    begin
      TfrxDesignerForm(frxReport1.Designer).ObjectsTB1.Visible := False; 
      TfrxDesignerForm(frxReport1.Designer).StandardTB.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).AlignTB.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).TextTB.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).FrameTB.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).ExtraToolsTB.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).DataTree.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).ReportTree.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).Inspector.Visible := False;
    end;
    

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.