Results 1 to 2 of 2

Thread: Better way for insterting text into textbox/rtf [resolved]

  1. #1

    Thread Starter
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172

    Better way for insterting text into textbox/rtf [resolved]

    I want to keep adding loads of text into a textbox or rtf...

    in vb6 you had the SELTEXT option in the rtf to add text to the textbox...

    in vb.net i can't seem to find that function.

    now i have to use

    text1.text &= text1.text & "something here"

    but with 400+ lines it becomes VERY SLOW...

    so how can i add text after a certain part of the text without it slowing down (like in vb6 with the rtf)



    edit :

    Nevermind found it.. its SELECTEDTEXT :P
    Last edited by Ultimasnake; Oct 28th, 2003 at 08:58 AM.
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

  2. #2
    Frenzied Member dynamic_sysop's Avatar
    Join Date
    Jun 2003
    Location
    Ashby, Leicestershire.
    Posts
    1,142
    better still, try AppendText . eg:
    VB Code:
    1. RichTextBox1.AppendText(" your text to add here ")
    ~
    if a post is resolved, please mark it as [Resolved]
    protected string get_Signature(){return Censored;}
    [vbcode][php] please use code tags when posting any code [/php][/vbcode]

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