Exclude lines in one frxRichView

edited 7:05PM in FastReport 3.0
How to exclude lines in one frxRichView?

Tanks,

Marcos

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 7:05PM
    More info needed!
    What are you trying to exclude, lines from an original rtf file or lines produced by added fr variables?
    ;)

  • edited 7:05PM
    Gordk,

    At the moment of the impression I need to eliminate the lines blank of the Rich1.

    I tried to use the following code, but it did not function because in the Rich1 it does not have the property Lines.
    procedure Rich1OnBeforePrint(Sender: TfrxComponent);
    begin
      var
      cont: Integer; 
    begin 
      cont:= 0;   
      while (cont <= Rich1.Lines.Count  - 1)  do 
        if ( Trim(Rich1.Lines[cont]) = '' ) then 
          Rich1.Lines.Delete(cont) 
        else 
          Inc(cont);
    end;
    

    What I must make?

    Tanks,

    Marcos

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.