Trying to use the Resize.vcx to maintain form when resizing.. Getting error first time I use then goes away.
Hi I followed a thread on this forum to a Resize.vcx library so I can resize my screen while maintaining form object/font proportions.
I added this code to the INIT of my form
This.NewObject( 'Resizer', 'stdResizer', 'tools\akins.vcx' )
Added this to the resize method of the form.
This.Resizer.AdjustControls()
The first time my form is called I'm getting an error Program: "Resizer.Saveoriginaldimensions" "Data type mismatch" on about 10 of the objects
on my screen. The other 200 hundred+ objects give no error and after ignoring the error about fifteen times the screen appears and I
can resize it and all works.
2nd time I call my program from the command prompt (without exiting VFP just quiting my program) the form and my program load with no errors and the form resizes correctly. If I go to the command prompt and type: "RELEASE ALL" and try to run my program again I get the errors.
Is anyone familiuar with the Resizer.vcx or know what I might look for?
Thanks
Hi I followed a thread on this forum to a Resize.vcx library so I can resize my screen while maintaining form object/font proportions.
I added this code to the INIT of my form
This.NewObject( 'Resizer', 'stdResizer', 'tools\akins.vcx' )
Added this to the resize method of the form.
This.Resizer.AdjustControls()
The first time my form is called I'm getting an error Program: "Resizer.Saveoriginaldimensions" "Data type mismatch" on about 10 of the objects
on my screen. The other 200 hundred+ objects give no error and after ignoring the error about fifteen times the screen appears and I
can resize it and all works.
2nd time I call my program from the command prompt (without exiting VFP just quiting my program) the form and my program load with no errors and the form resizes correctly. If I go to the command prompt and type: "RELEASE ALL" and try to run my program again I get the errors.
Is anyone familiuar with the Resizer.vcx or know what I might look for?
Thanks