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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

about enum 3
Merge Info From Two Enums 1
Iterate through enum of system.drawing.color 5
enum type 3
enum with underlying type 1
Enum Extentions 7
Check Flags Enum for Validity 15
Enums & Constructors? 4

Back
Top