Avatar of SchoolTeacher54
SchoolTeacher54
 asked on

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?
Visual Basic.NET.NET Programming

Avatar of undefined
Last Comment
Éric Moreau

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Miguel Oz

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Éric Moreau

can you show the code you currently have?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck