How can i open and close form rapidly without any showing on the screen?

How can i open and close form rapidly without any showing on the screen?

Post by nomenklatu » Tue, 27 Sep 2005 05:29:51


Hi,
my functions is open "x" (mdi child form) form and close then
but when i try (not exactly code):

for i=0 to 5
x.show
x.visible=false
bla
bla
x.close
next

x is first showing a little on the screen and then closen rapidly
but i don't want to see anything x form when opening an closing
how can i open and close this form behind the screen??
 
 
 

How can i open and close form rapidly without any showing on the screen?

Post by Nick Z » Wed, 28 Sep 2005 07:41:44


I think it can be done simpler than that.

x.Top = -1000;
x.Left = -1000;
x.Show();

It's gonna be "shown" but off the screen.

Nick Z.