Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can controls respond to events when switching apps?
Message
From
02/12/2004 18:28:10
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
How can controls respond to events when switching apps?
Environment versions
OS:
Windows XP
Miscellaneous
Thread ID:
00966564
Message ID:
00966564
Views:
48
I have a simple form that is processing some data. I have a custom event, "ProcessedEvent," that fires every time a row in my dataset is processed. I have a registed method with the event that listens and updates a textbox to display the count of processed records.

When the user clicks the button to start the process, I turn the cursor to an hourglass and the textbox correctly listens for processedEvents and updates itself as intended.

I am running it in debug mode and if I switch applications and come back to my application, the textbox no longer updates itself, although when the process completes, the hourglass turns back to a regular pointer and everything completes as expected.

Is there some event at the app level like LostFocus/ReceivedFocus that I need to get my textbox updating method on my form to resume responding to processedEvents again, is this a bug, or is it a quirk of debug mode?
David S. Alexander
Kettley Publishing
20271 SW Birch Street, 2nd Floor
Newport Beach, CA 92660-1752
Next
Reply
Map
View

Click here to load this message in the networking platform