Rocky Smolin - Beach Access Software
bchacc at san.rr.com
Tue Mar 23 10:59:56 CST 2004
Dear List: I have an app which was developed in A97 on a 640x480 screen. I used the adhScaleForm code from the A97 ADH to scale the forms on screens with higher resolutions. Worked okay with some problems. The app is now in A2K and to try to resolve some of the form resizing problems I'm trying to move to the FormResize code in the A2K ADH. I put the following code into the On_Open event of a test form: Set frmResize = New FormResize Set frmResize.Form = Me Call frmResize.SetDesignCoords(640, 480, 96, 96) frmResize.ScaleForm = True frmResize.IsMaximized = True frmResize.ScaleControls = scYes frmResize.ScaleFonts = True frmResize.ScaleColumns = True and I can see the form resize briefly, then it shrinks back to its unscaled appurtenance. Does anyone have any experience with this FormResize and know why the resizing is not 'sticking'? MTIA, is