> > > > > My applications are currently developed on W98. Screens are 800x600.
> > > > >
> > > > > Happy days are now gone. The application has to work on any resolution setting.
> > > > >
> > > > > I'd like to code my application to detect the user resolution setting and adjust each form to fill the screen e.g. to 1024x768.
> > > > > However, in doing so, I'd ideally like the controls to proportionally reposition.
> > > > >
> > > > > I've been scouring the archives on this forum and have tried a number of the suggestions.
> > > > >
> > > > > I've tried Sizer2. Its great for 95% of my work, but in some screens with a large number of objects, some lose their relative alignment and in some cases can overlap.
> > > > >
> > > > > I've tested the reschange.scx from the STRUCT download. However, I don’t want to change the user resolution setting.
> > > > >
> > > > > If there's a solution for doing so, I'd settle for proportional repositioning, so the screen is always filled.
> > > > >
> > > > > However, I'd like to take advantage of longer and wider list controls as would be possible with the higher resolution.
> > > > > This would mean a) repositioning but NOT resizing controls (e.g. command buttons)
> > > > > b) repositioning AND resizing list controls and image controls.
> > > > >
> > > > > Ive been playing with sysmetric(1) and sysmetric(2) to detect the user screen resolution, then repositioning and resizing EACH control accordingly, by hard coding the top, left, width and height properties.
> > > > > It works perfectly on my W2000 computer and on XP.
> > > > > But… it’s a massive undertaking to hard code every screen in my application, for every possible screen resolution.
> > > > >
> > > > > Is there an easier way?
> > > > >
> > > > > George
> > > > > ideasforgardens.com
> > > >
> > > >
> > > > VFP9 controls have a new Anchor property. Check it out here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp9/html/525f5ff6-eb50-4608-b63b-87b9b601f68d.asp. You may want to upgrade!
> > > > --
> > > > Eric den Doop
> > > > www.foxite.com - The Home Of The Visual FoxPro Experts
> > >
> > > Thanks for the very prompt reply Eric.
> > > I've been studying the VFP V9 anchor property, and it does indeed offer absolutely every alternative imaginable when resizing.
> > > I haven’t had the pleasure of using V9. As I understand it from the hyperlink article, the programmer has to assign an anchor value for every single control on the form.
> > > This is necessary to allow the positioning options and complete flexibility.
> > > In V9, does the anchor property show up under the Layout tab on the Properties box, e.g. similar to Fontsize?
> > >
> > >
> > > George
> >
> > Yes you can access the property from the Property window.
> > --
> > Eric den Doop
> > www.foxite.com - The Home Of The Visual FoxPro Experts
>
> Thanks again for the lightning fast response Eric!
>
> You've convinced me on the need to move to V9. This screen resolution thing has been worrying.
>
> A number of questions.
> My applications are VP V7 executables running under a VFP V7 menu.
> I use free tables, rather that a database.
>
> To upgrade my applications, can I simply add values into the anchor property and recompile existing programs with V9?
>
> GeorgeAbsolutely, George. Needless to say, you may find problems if forms saved in 9 are opened in 7.