| Alan J. Tepper 2004-03-27, 12:23 am |
| I've discovered a bug in PB9.0.1 (build 7119)...running in WinXP Pro.
Put two buttons on a window - one opens a second window, the other
button calls the MessageBox function. Click button one to open the
second window, then close that window. After this, any time the
MessageBox function is called, focus is returned to the button that
opened the second window. You will find this is the case if you click
the second button.
This is just an example of how to get the bug to occur. In my case,
I've got a window with a button that opens a secondary window, and a
datawindow that sometimes causes a messagebox to appear. Anytime the
datawindow calls the messagebox function, focus is returned to the
button instead of the datawindow. It is very annoying.
Does anyone know how PB keeps track of what control should have focus
when a window is re-activated? Is there some kind of API for this?
This is driving me bonkers!!
Thanks in advance for any help.
|