I've got 2 forms: Form1 and Form2
when I set Form1's 'FormStyle' property to 'StayOnTop' Form1 stays on top of any other on the DESKTOP
(just like I want it to). However, if I set Form2's FormStyle property to StayOnTop Form2 still stays
(always) hover Form1 but they both stay below any other window (other application) that comes along.
I want the forms to be independent from each other (to set one of them to stay on top of any other
window in the desktop, or to set both of them to stay on top of any other window in the desktop) and
to be selected independently (when I select one of them it should come to the foreground leaving the
other form in the Z order in wich it was).
I got this far:
I've set the 'ParentWindow' property as follows:
parentWindow := getDesktopWindow;
parent := nil;
and this seemed to had worked. The only problem now is that both forms can't seem to get focus.
I'm not sure this is the right approach...
Thanks in advance