Interate through control only on a specified tabpage

I have a VB Windows form. The form has a tab container. On TabPage5 I have a series of controls (textbox and combobox) that I would like to iterate through and check the property of the TAG property. For instance if the tag is "R" I'll check that the field has an acceptable value and if not set enabled.false on the save button to not allow the SAVE command on that tab.

I've worked out  how to do this on the entire form but not just a tabpage.

The goal is I need to validate the control one tab at a time and take action accordingly.

Help?
SchoolTeacher54Asked:
Who is Participating?
 
Miguel OzSoftware EngineerCommented:
Please use the Controls property of the selected tab page instance,  in your case you could loop this Controls property to find the required child control.
0
 
Éric MoreauSenior .Net ConsultantCommented:
can you show the code you currently have?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.