jjschwartz
Technical User
I position many of my modal forms relative to the main form by setting their top and left properties relative to the main form.
modalform.left := mainform.left + 100;
modalform.top := mainform.top + 100;
That way, my modal forms are always in the same position relative to the main form regardess of where the user drags the main form.
All was well until, to my great surprise, I ran my application on a Windows XP machine. The application was developed on a Windows 2000 machine.
The modal forms are about 10 pixels too high !?!
Any insights into how this happens and what I can do to make my forms come out in the right place?
TIA
modalform.left := mainform.left + 100;
modalform.top := mainform.top + 100;
That way, my modal forms are always in the same position relative to the main form regardess of where the user drags the main form.
All was well until, to my great surprise, I ran my application on a Windows XP machine. The application was developed on a Windows 2000 machine.
The modal forms are about 10 pixels too high !?!
Any insights into how this happens and what I can do to make my forms come out in the right place?
TIA