Home » questions » How do you select a text in a RichTextBox in VisualBASIC?

How do you select a text in a RichTextBox in VisualBASIC?

2006-08-14 11:00:20, Category: Programming & Design
And I mean, how do you do that trough code The advice was very useful. Thanks.

Answers

  1. Dr. Mr. Ed

    On 2006-08-14 12:12:41


    In VB.NET, the RichTextBox object has a SelectAll() method. It also has a Select() method with the signature (Integer, Integer) to give start and length values. I don't know about VB6 if you're not using VB.NET.