Einar,
You're welcome! =)
~~Bonnie
>Bonnie,
>I had a feeling it was simple;) It sure makes a lot of sense to call the SelectNextControl from the form object and not from the textbox object.
>
>Thanks,
>Einar
>
>>Einar,
>>
>>I've never used this method before, but I tried it and I think that what you need to change it to is this:
>>
>>this.SelectNextControl(this.txtValue, true, true, false, false);
>>
>>It worked for me that way, but not when I tried the syntax you originally used.
>>
>>~~Bonnie
>>
>>
>>>I am having some issues with SelectNextControl. Considder the following code:
>>>
>>>MessageBox.Show(this.txtValue.SelectNextControl(this.txtValue, true, true, false, false).ToString());
>>>
>>>I call this from the this.txtValue.KeyUp and the messagebox always tells me
false, i.e. the method failed.
>>>
>>>Any clue? (I am sure it is something very simple)
>>>
>>>Thanks,
>>>Einar