S
Sean
Hi all,
Say that I have two windows A and B. When I click a button
on window B, window A will pop up. I want A to be always
on top of B so that user cannot click and fire any buttons
(or any other controls) on Window B as long as Window A
appears.
I cannot use TopMost property because after Form A pops
up, I want another window to be always on top of
Form A (at the sametime I also want Form A to be always on
top of Form B).
(top)
Another Form (always on top of A)
|
Form A (always on top of B)
|
Form B
(bottom)
That's why if I use TopMost, I can't get the above to work.
I tried setting
A.Owner = B
but still I can click and fire any button(or controls) on
Form B.
Any help would be greatly appreciated.
Thank you in advance.
regards,
Sean
Say that I have two windows A and B. When I click a button
on window B, window A will pop up. I want A to be always
on top of B so that user cannot click and fire any buttons
(or any other controls) on Window B as long as Window A
appears.
I cannot use TopMost property because after Form A pops
up, I want another window to be always on top of
Form A (at the sametime I also want Form A to be always on
top of Form B).
(top)
Another Form (always on top of A)
|
Form A (always on top of B)
|
Form B
(bottom)
That's why if I use TopMost, I can't get the above to work.
I tried setting
A.Owner = B
but still I can click and fire any button(or controls) on
Form B.
Any help would be greatly appreciated.
Thank you in advance.
regards,
Sean