|
-
Feb 1st, 2004, 08:16 AM
#1
Thread Starter
Frenzied Member
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.
-
Feb 1st, 2004, 10:04 AM
#2
Registered User
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|