OK, a week or two ago, my Delphi 5 app started to initialise with a small gap running across the top of the screen and with the same portion of the main form appearing *under* the task bar. It's set to be maximised and I'm using XP Pro.
The same problem isn't present running the same app on other machines with XP Pro on, so I decided it was a faulty Windows - I had been experiencing other anomalies.
So, I reformatted and re-installed everything... and it still does it!
If I set the form to Normal instead of Maximised and set the Top and Left properties to 0 and the Width and Height to the desktop's Width and Height, I get the same result. It's as if Delphi thinks that 0,0 on the desktop is actually at 0,20.
To add to the mystery, tonight I discovered that if I set the task bar to Auto-hide, the problem disappears. Bring the Task bar back and so does the problem.
Anyone had this problem or more importantly, anyone know how to fix it please?
BC
The same problem isn't present running the same app on other machines with XP Pro on, so I decided it was a faulty Windows - I had been experiencing other anomalies.
So, I reformatted and re-installed everything... and it still does it!
If I set the form to Normal instead of Maximised and set the Top and Left properties to 0 and the Width and Height to the desktop's Width and Height, I get the same result. It's as if Delphi thinks that 0,0 on the desktop is actually at 0,20.
To add to the mystery, tonight I discovered that if I set the task bar to Auto-hide, the problem disappears. Bring the Task bar back and so does the problem.
Anyone had this problem or more importantly, anyone know how to fix it please?
BC