Disabling Parts of the Designer

Hello,

I need to make a mode of Fast Reports where I restrict access to the user, at least for a bit.

Specifically, I need to restrict:
* Data
* Functions
* Classes
* System Text


As well, I would like to know of a way to disable/enable buttons and components in general from the designer form, if that is possible.

Comments

  • gpigpi
    edited 6:43PM
    procedure TForm1.frxDesigner1Show(Sender: TObject);
    begin
      TfrxDesignerForm(frxReport1.Designer).DataTree.DataTree.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).DataTree.FunctionsTree.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).DataTree.ClassesTree.Visible := False;
      TfrxDesignerForm(frxReport1.Designer).DataTree.VariablesTree.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.