Increase Text Object Character Limit

edited July 2013 in FastReport 4.0
It looks like the default character limit of a text object is 255. Is there a way to increase that amount? Is there a property to allow it to grow?

Edit: I'm just learning Fast Reports. I now realize that the size of the text object limits the size. It still seems that 255 is the limit for large text objects.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 6:28PM
    Set the band to allow stretching set the memoviews stretch mode property and vertical align property to suit
    and wordwrap to true.
  • edited 6:28PM
    gordk wrote: »
    Set the band to allow stretching set the memoviews stretch mode property and vertical align property to suit
    and wordwrap to true.
    Thanks for responding. I ended up using a DialogPage in combination with some Pascal code. I thought I tried your suggestion but will try again so I can use it in the future.
  • gordkgordk St.Catherines On. Canada.
    edited 6:28PM
    FYI the memo of a tfrxmemoview is a multilined array of twidestring
  • edited 6:28PM
    jamertroy wrote: »
    Hi david, did memoviews stretch mode property worked on this case for you? I'm still trying to figure out how this softwware works as a whole by the way.


    No, I never got it to work. I set the StretchMode to smMaxHeight. The other options are smDontStretch and smActualHeight. I am using an onPreview click event to get the input. I still don't fully understand the Pascal code. I ended up using what is called a DialogPage that allows more characters as input. I copied the DialogPage and code from another report. Once I figure out how it actually works I'll post an explanation here.

    I am a programmer but do not know Pascal or FastReports.
  • edited 6:28PM
    I just now noticed that you can choose to add a dialogpage when you right click to add a new page. A Memo control is added to the dialogpage to allow more characters. A label and OK button can also be added. Code is used to display the dialogpage when a text object is chosen. The user input is entered in the memo control on the dialogpage. So far, that is the only way I have to allow more characters as input.

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.