Click here to Skip to main content
11,643,493 members (69,351 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: VB.NET
Hi everybody,

i´m wondering what the difference is between ctrl.GetNextControl en ctrl.SetNextControl.
I know what ctrl.SetNextControl is, i´m using this in several applications.
But when do you use ctrl.GetNextControl?
So what is the difference, i've googled but don't really understand.
Can someone explaine this to me?
Posted 15-Apr-13 11:12am
Maciej Los at 15-Apr-13 17:30pm
What don't you understand? Which part?
MrteR at 15-Apr-13 17:35pm
basicly you are using the ctrl.SetNextControl to move to the next control.
i am using this for example right now to move thru my dynamic tabcontrol.
But in wich situation do you use the ctrl.GetNextControl?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Retrieves the next control forward or back in the tab order of child controls.

GetNextControl Method[^]

Is it possible to explain it in simplest way? I don't think so.
MrteR at 15-Apr-13 18:02pm
I've just tested but can not use it for some reason.
Anyway thanks for your time and i understand now
I really appreciate it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 570
1 484
2 DamithSL 318
3 Afzaal Ahmad Zeeshan 253
4 CPallini 222
0 OriginalGriff 795
1 DamithSL 611
2 Mika Wendelius 494
3 484
4 Afzaal Ahmad Zeeshan 404

Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 15 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100