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

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



nomenklatura wrote:
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??





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.
.