Odd modal form behaviour
Posted on 2005-05-02
A curious question that I wonder if somebody has encountered before.
I have a normal app (D7).
Create a new Project with two forms Form1 and Form2
Make Form1 your startup form
On Form1 place a button.
Under the button put this code
Run the project and click the button, Form2 show modally.
Everything looks fine.
Now I have a cheap mouse with a neat menu system. I click a button on the side and a menu pops up.
Funny thing happens, in my Delphi project, my modal form ducks behind the main form and the main form is inactive.
I have probably a hundred apps on my PC and don't have this problem with any other apps.
The solution is easy - get a new mouse?
But here's the problem, what if my clients have the same problem with another mouse?
Anybody got any idea what's happening?
The app exhibits the same behaviour on NT and Win2000