By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,662 Members | 1,765 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,662 IT Pros & Developers. It's quick & easy.

Event when switch form from "run time" to "design view"

100+
P: 759
Is there any event that is fired when I switch the form from "run time" to "design view".
I wish to use this event (if exist) to run some code.

Thank you !
Mar 22 '12 #1
Share this Question
Share on Google+
2 Replies


100+
P: 759
Ok. Find it out.
Close and Unload are fired.
One of my Error Handler obturate this events in my code.
Sorry for this question.
Mar 22 '12 #2

NeoPa
Expert Mod 15k+
P: 31,271
Reasonable question :-)

There is no event which fires specifically and uniquely for switching between these two states. As you now know, the form does close when switching, so Close and Unload fire, but not uniquely for the switch.

In reverse, the Open and Load events also fire, of course.
Mar 22 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.