Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Design Time Code

Status
Not open for further replies.

NeilTrain

Programmer
May 27, 2003
275
US
I want to execute some simple code, i.e. myControl.BringToFront(); when a button is selected at design time. I have a form with about 10 panels, the panel that is shown depends on the buton that was last pressed. It works fine in run time however design time is kind of a pain, having to manually bring the panel I want to work on to the front.

Isnt there a way to fire a method at design time using some kind of attribute? I know I have seen it done but cant think of what to search for.

Any help much appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top