>>I tried _screen.height and .width, but it controls the whole screen, not the forms
>
>You need this for your form base class. You're not creating your forms from VFP base class, I assume? Set these properties once in your lowest in hierarchy class and then you should be all set, I think.
The problem comes if you want to be able to create your forms for your own use for bigger resolution. How exactly would it be possible to adjust design time properties?
I guess you may have some StartUp program that would check some enviromental settings and may re-adjust design time properties. Sounds a bit complicated and I don't really know if this is needed.
In run-time you definitely should check for resolution and set MaxHeight/MaxWidth properties accordingly, so your users would be able to resize the form to the maximum resolution.
If it's not broken, fix it until it is.
My Blog