Click here to Skip to main content
11,789,710 members (64,140 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 999
1 Maciej Los 765
2 KrunalRohit 686
3 CPallini 606
4 Richard MacCutchan 430

Advertise | Privacy | Mobile
Web03 | 2.8.1509028.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