How to handling screen resolution?
Posted on 1999-06-28
I try to adjust my application form size and position to screen resolution, so my form could showed properly. I want my form still displayed as I designed in form designer, regardless of screen resolution.
I've tried to scale my form using PixelsPerInch property when it's created like this:
PixelsPerInch := GetDeviceCaps(Handle, LOGPIXELSY);// I've set scaled property to true at design time;
I think my form was well scaled but it's ugly. All my component on my form was not scaled as the form was. I have many component on my form such as: coolbar, listview, label, etc. My coolbar was cut off, and so all my label and other component still not scaled.
Is my way correct ? How to solve this problem?
Big thanks to anyone who helps me