New Memo in BasicScript

edited March 2015 in FastReport 4.0
Hello,
How can I add new Memo object by BasicScript code?

I'm trying to draw couple of Memo object (quantity and width of memos will be depending on parameters) - I will use a loop for that.

Comments

  • edited 12:49PM
    Hello,

    probably not the best way but its work.
    I use it in an AfterCalc-Height-Event (PageHeader1OnAfterCalcHeight):
    sub PageHeader1OnAfterCalcHeight(Sender)  
      Dim Memox as TfrxMemoView
      Memox = TfrxMemoView.Create(Sender)  
      Memox.SetBounds(600,25,75,20)                                                                                         
      Memox.Font.Name = "Courier New"
      Memox.Text = "Hallo Welt"                                                           
    end sub
    
    Hope it helps.

    greets

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.