On Oct 2, 2006, at 8:40 AM, Terry Ford wrote:

Since the lostfocus events is triggered ( and is not named "losingfocus") I presumed the focus is already lost. So how comes that calling a Msgbox would retrigger the same event.

There are certain events that act in a very sporadic manner when a MsgBox is included within the code. The fact that you only had two show up is a blessing as often it puts your app in an endless loop.

This issue really bothered me as well, and there is an open report in the Feedback system about this.

Better to set a flag and/or use a timer to display any dialogs and let the built-in event run its course.

Yes, a timer is the best way to get this to work.

This also applies to Open, Activate and Paint events as well as they are all related to window display methods in the OS.

True.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to