Results 1 to 40 of 4199

Thread: CommonControls (Replacement of the MS common controls)

Threaded View

  1. #11
    Fanatic Member Mith's Avatar
    Join Date
    Jul 2017
    Location
    Thailand
    Posts
    540

    Re: CommonControls (Replacement of the MS common controls)

    Quote Originally Posted by Krool View Post
    Update released.
    I tested the new update (.25) of the RichTextBox control with text files in several sizes using this code:

    Code:
    10 rtfTest.LoadFile sFilePath, RtfLoadSaveFormatText
    20 rtfTest.SelStart = 0
    30 rtfTest.SelLength = Len(rtfTest.Text)
    40 rtfTest.SelColor = vbBlack
    50 rtfTest.SelLength = 0
    14,6 MB -> OK
    17,2 MB -> OK
    20,0 MB -> OK
    32,0 MB -> OK
    68,0 MB -> loading ok, but "no memory" error at line 30

    after removing line 20 to 50 everything is working well:

    109 MB -> OK
    172 MB -> OK

    Loading the files is very fast.
    Should i use the command .clear before loading a file to reset the current style of the RTB?
    Last edited by Mith; Aug 10th, 2021 at 09:25 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width