An enum of controls?

  • Thread starter Thread starter Greg Smith
  • Start date Start date
G

Greg Smith

Is there a way to have an enum of controls? What I want to do is have the
user click on a button and then perform a procedure on that button and a
certain number of buttons after that.

Any help is greatly appreciated.
 
Greg said:
Is there a way to have an enum of controls? What I want to do is
have the user click on a button and then perform a procedure on that
button and a certain number of buttons after that.

Any help is greatly appreciated.

You would define as enum value type as a bunch of values, not controls. If
you handle your button's Click event, you can do any other processing you
need to.
 
Back
Top