Refering to a Control by Name In Code

  • Thread starter Thread starter D Miller
  • Start date Start date
D

D Miller

This might be a pretty basic question... How do I refer to a control by
name as a variable?

For instance I have 90 controls is a row named C1 though C90 and I want to
have focus shifted from say C11 to C20 by code. The target name would have
to be a variable.
 
D said:
This might be a pretty basic question... How do I refer to a control by
name as a variable?

For instance I have 90 controls is a row named C1 though C90 and I want to
have focus shifted from say C11 to C20 by code. The target name would have
to be a variable.

Do a google search on "vb.net Get control by name" and you will get many
examples of this.

Chris
 
Back
Top