Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

LMDDBRichScrollText only displays about 122 characters

This component only shows the first 122 characters of my scrolling text string.  I'd like it to show at least double that many characters.

Comments

  • 7 Comments sorted by Votes Date Added
  • Hi,

    I can't reproduce this issue. May be the problem is in data set settings (string field length, ect).

    Eugene,
    LMD Innovative.
  • Just add the component, make it scroll right to left, make the text string 200+ characters.  It will scroll and the text will just be cut off at about 120 characters.

    The text in the 'Lines' is:

    {\\rtf1\\ansi\\deff0 {\\fonttbl {\\f0 Times New Roman;}}\\f0\\fs132 Motiv 17.5 Motors now available in the shop! Mod motors also available, get them before they are sold out}


    scroll1.JPG
    495 x 984 - 73K
  • Hi,

    Unfortunately, I still can't reproduce the issue.
    1.png
    878 x 291 - 14K
  • Another screenshot...
    1.png
    666 x 488 - 15K
  • Hi, again,

    Testing more, I now able to reproduce your situation. Its only happens when the line is long in pixels (due to big font size), and when WordWrap is set to False.
    I've modified code to fix this issue, but, the issue can't be fixed in automatic mode. So, I've added to new properties: MaxWidth and MaxHeight, which are set to 3000 by default (as was in initial code), and used to create internal bitmap cache. So, to fit your big line in the cache, you'll need to increase MaxWidth to lets say 5000 pixels.

    Eugene,
    LMd Innovative.
  • Thanks!  So the fix will be in the new revision I assume?
Sign In or Register to comment.