Two Top Most Forms

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

In my windows applicaiton, I have two forms that the user may set to "Always
on Top" - by setting the TopMost property of the form.

However, if both of these forms are set have their TopMost property set to
true I wish one of these to be on top of the other top most form whatever
happens.

Does anyone have any ideas on how to achieve this

Thanks in advance,

Dan
 
Hi Dan,

Set the first form to be owner of the second for by setting the second
form's Owner property.

The only side effect of this is that when you minimize the first form the
second will be minimized as well.

AFAIK there is no easier way.
 
Back
Top