Results 1 to 18 of 18

Thread: freezing richtextbox from scrolling while outputting text

Hybrid View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2004
    Posts
    86

    Re: freezing richtextbox from scrolling while outputting text

    Thanks RobDog888 ... might be the one I am looking for.

    Cheers

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: freezing richtextbox from scrolling while outputting text

    No prob. hope it works out for you.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: freezing richtextbox from scrolling while outputting text

    I'm having luck using .Find to find [1], and then replacing it with my variable, which I already have in a textbox on a form. It is already formatted!
    The only problem is that if I right-align it, then the lines on the table mess up. I can pad it with spaces, though. I probably have [50] variables.
    Makes for a *LOT* of code, but it works.

    You might want to use .Find to get to the top line of your RTF, after it writes the DB. It's not elegant, but it will work.

    I have a bmp in my RTF, and now I need a way to replace the contents with the one from the program. Any idea how to do it? It wouldn't be hard to save it as a file, if there is a way to read it into the right area, but I'd like to be able to paste it there.

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