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

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

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

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

Expert Mod 15k+
P: 31,494
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.