Difficulty with FORM sizing and SHOW command in VB6 - TechRepublic
General discussion
September 3, 2004 at 08:06 PM
rovercom

Difficulty with FORM sizing and SHOW command in VB6

by rovercom . Updated 21 years, 8 months ago

Since switched from VB4 to VB6 I have difficulty with the FORM size and location. In design mode the form does not show up in its original size. I have always to drag the width and height to the correct positions. Next time when I open the form again it does not open to the correct properties, although the values in the property listing are correct.

At runtime the forms also open incorrectly, however I have been able to overcome that by using the MOVE command after the SHOW command. However, this does not work using the modal command SHOW 1. The form sizing remains incorrect because the FORM_LOAD procedure is halted untill the FORM_UNLOAD command is given.
What is the sollution for this? Do I need to load a reference file, and if so which one?

Your help would be greatly appreciated.

Many thanks in advance,

Ronald.

This discussion is locked

All Comments