Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SelectNextControl
Message
From
23/09/2005 12:56:54
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01052251
Message ID:
01052457
Views:
8
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
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform