Visual FoxPro forms not identical to converted C#.NET forms

weswilson
weswilson used Ask the Experts™
on
We are creating hundreds of C#.NET forms by reading the VFP source and writing the .cs code.

The height, width, top, and bottom of all objects are identical.  The font is identical (exception MS Sans Serif is changed to Microsoft Sans Serif.  Also same font size.

The spacing and size of the objects are slightly different.  Enough to make a mess when the objects(labels, textboxes) are close together.

We need them to be identical. Any suggestions?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
ste5anSenior Developer

Commented:
The only programmatic approach: take a complex form where this happens. Then measure each difference introduced by which component (spacing, padding, box model) and adjust the converter.

But I don't think this is a big problem: You need to test each form anyway. Thus repairing this during the tests is imho a viable way. Especially - as I guess - one of the goals is to modernize the application.
This is not about fonts but rather about the rendering engine which may differ between these two tools.
You certainly know exactly same differences when you use different REPORTBEHAVIOR  in VFP reports...

To add some corrections to the converter is a good option in this case.
BUT... this question is one year old and you maybe have the solution already. Am I right?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial