Click here to Skip to main content
11,496,146 members (463 online)
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
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 12:12pm
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

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 Sergey Alexandrovich Kryukov 10,401
1 OriginalGriff 8,910
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600

Advertise | Privacy | Mobile
Web01 | 2.8.150520.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