Results 1 to 16 of 16

Thread: [RESOLVED] Looking for a way to simulate a .SelStartRTF property

Threaded View

  1. #1

    Thread Starter
    No place like 127.0.0.1 eyeRmonkey's Avatar
    Join Date
    Jul 2005
    Location
    Blissful Oblivion
    Posts
    2,306

    Resolved [RESOLVED] Looking for a way to simulate a .SelStartRTF property

    I need a way to tell where the insertion point is in the .TextRTF. I was thinking about parsing all the "\par" out and figuring out which line the cursor was on in the normal text and syncing those 2 numbers up (if that made any sense). I was hoping for a faster way then that though because that would involve a lot of Split-ing or a lot of other slow VB string functions.
    Last edited by eyeRmonkey; Dec 8th, 2005 at 01:21 AM.
    Visual Studio 2005 Professional Edition (.NET Framework 2.0)
    ~ VB .NET Links: Visual Basic 6 to .NET Function Equivalents (Thread) | Refactor! (White Paper) | Easy Control for Wizard Forms | Making A Proper UI For WinForms | Graphics & GDI+ Tutorial | Websites For Free Icons
    ~ QUOTE: Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rich Cook

    ~ eyeRmonkey.com

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