Hi All,
As part of my desire to "modernize" my application, one thing I find is that there are many screen sizes out there these days, that are beyond the 1024 x 768 that many of my forms are created to.
What I would like to do is have my controls on the forms "scale" dynamically with screen resizing (lower right corner dragging). Getting the form to change size is easy, but what to do with all the position and size of the controls is not so clear.
Does anyone have any advise on how to best tackle this? I've seen properties now in VFP 9 that mention "Anchor", but I don't know if keeping some position of the control is the right thing to do (via anchor). And do you increase white space, and keep controls the same size, or how do you decide to increase/decrease the white space and the control position and size dynamically? Is there some procedure (using PEMSTATUS?) that makes this applicable to a form, or does each control need to be approached?
I've seen some very impressive form control in other applications and some interesting stuff in Visual Studio Expression that essentially defines 2 styles of form (one for vertical like a mobile phone, and one for horizontal favor, like tablet apps), but I just want something that will work in my general PC forms. Any ideas on how to attack this?
Best Regards,
Scott
MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS
"Everything should be made as simple as possible, and no simpler."
As part of my desire to "modernize" my application, one thing I find is that there are many screen sizes out there these days, that are beyond the 1024 x 768 that many of my forms are created to.
What I would like to do is have my controls on the forms "scale" dynamically with screen resizing (lower right corner dragging). Getting the form to change size is easy, but what to do with all the position and size of the controls is not so clear.
Does anyone have any advise on how to best tackle this? I've seen properties now in VFP 9 that mention "Anchor", but I don't know if keeping some position of the control is the right thing to do (via anchor). And do you increase white space, and keep controls the same size, or how do you decide to increase/decrease the white space and the control position and size dynamically? Is there some procedure (using PEMSTATUS?) that makes this applicable to a form, or does each control need to be approached?
I've seen some very impressive form control in other applications and some interesting stuff in Visual Studio Expression that essentially defines 2 styles of form (one for vertical like a mobile phone, and one for horizontal favor, like tablet apps), but I just want something that will work in my general PC forms. Any ideas on how to attack this?
Best Regards,
Scott
MIET, MASHRAE, CDCP, CDCS, CDCE, CTDC, CTIA, ATS
"Everything should be made as simple as possible, and no simpler."