troubleshooting Question

Reference controls in different class

Avatar of adam_pedley
adam_pedley asked on
Visual Basic.NET
5 Comments1 Solution228 ViewsLast Modified:
Hi

I have a form that calls a class. In this class a number of controls are generated and passed back. The controls are then displayed on screen.

One of the controls is a button in which i do an addhandler to a sub in the (control generating) class.

I can press this button and successful run this sub.

But now i need to get a value from other controls when this button is pushed.

I know the names of these other controls but how can i reference them

Thanks
Adam
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros