Both Forms in the taskbar

Both Forms in the taskbar

Post by Roge » Wed, 06 Mar 2002 03:51:41



I have two forms where Form1 calls Form2 and vice-versa. If I minimize
Form2 then Form1 and Form2 are both in the taskbar even though Form1
is supposedly hidden. I set the ShowinTaskBar = False for both forms.
That works just fine. However, it does not solve the original issue
which is, I would rather see it in the Taskbar and than on the
Desktop.

I believe that this started when I put a Picturebox into the form. I
then pasted all of the controls into it so I could use to scroll up
and down. I also placed a scrollbar into the form.

Does anyone have any ideas?

 
 
 

Both Forms in the taskbar

Post by Rob » Wed, 06 Mar 2002 04:28:31


Hi Roger. Instead of minimising the forms, why not try hiding them, using
the Hide method?


Quote:> I have two forms where Form1 calls Form2 and vice-versa. If I minimize
> Form2 then Form1 and Form2 are both in the taskbar even though Form1
> is supposedly hidden. I set the ShowinTaskBar = False for both forms.
> That works just fine. However, it does not solve the original issue
> which is, I would rather see it in the Taskbar and than on the
> Desktop.

> I believe that this started when I put a Picturebox into the form. I
> then pasted all of the controls into it so I could use to scroll up
> and down. I also placed a scrollbar into the form.

> Does anyone have any ideas?