Re: Selecting All Text in TextBox



DRKML wrote:
> When I open a form I want to have the all of the text in the first
> control selected. If I SetFocus the cursor is at the end of the text.
>
> How can I have all of the text selected?

Hi,

Take a look at the SelStart and SelLength properties of the textbox object.

Rob


.