-
Vb .net Form Activated
I'm a .NET newbie. I have noticed that when I put
MessageBox.Show "Message"
in a form's Form_Activated event, the event fires each time the message box is closed creating an infinite "loop". This is very different behaviour to VB6's Form_Activate event.
-
form activated is called every time the form becomes in focus. when the messagebox appears, that gains focus and the form loses it. (the bar at the top of the form turns a lighter shade of grey or blue). see my recent thread for ways of solving the problem.
http://www.vbforums.com/showthread.p...hreadid=277046