Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding form initially
Message
From
04/07/2002 02:14:07
Walter Meester
HoogkarspelNetherlands
 
 
To
03/07/2002 23:13:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00674786
Message ID:
00675245
Views:
18
Hi Joe,

>It appears I may have bingoed too soon. The form still flashes annoyingly on the screen before it disappears IF there are a large # of compononents.
>
>Any other ideas?

Have you tried the NOSHOW clause in the DO FORM command: (DO FORM MyForm NOSHOW)

The only thing I could think of is that this form contains an activeX control that forces the form to get visible before the init or show event. In all other cases I found the NODEFAULT in the show event to be reliable.

You could determine which component is causing the problem by stipping off components and add them one by one to determine the guilty one.

If found, you can try to make a class of this component and add it at runtime (Addobject method).
Another solution might be to set the left property of the form to -10000 so it does not show up in the visible area of the desktop. This has to be done in the form designer as the form flashes before any code is executed.

HTH

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform