Previous | Index | Next 

[INFO] User-defined coordinate systems can have unexpected results

VB Migration Partner supports all ScaleMode values, for forms, PictureBox and UserControl containers. However, if the application relies on user-defined coordinate systems (i.e. ScaleMode is set to the value 0-vbUser), then you might notice that the Left, Top, Width, and Height of child controls might not work exactly as they do under VB6. For example, runtime assignments to these properties might incorrectly move or resize the control.

If a form or a container control relies on user-defined coordinate systems and you notice any discrepancy in how its child controls are moved or resized, we recommend that assignments to Left, Top, Width, and Height properties be replaced with direct assignments to the Location and Size properties of the underlying .NET controls.

 

Previous | Index | Next