Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SelectNextControl
Message
From
23/09/2005 00:38:38
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01052251
Message ID:
01052279
Views:
6
This message has been marked as the solution to the initial question of the thread.
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
Next
Reply
Map
View

Click here to load this message in the networking platform