Link to home
Start Free TrialLog in
Avatar of RIAS
RIASFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Clicking on a form makes other runtime forms to hide behind the mainform.

Hello,

is there any way that clicking any conrol on the form make other run time created forms to stay in front.

Cheers
Avatar of darbid73
darbid73
Flag of Germany image

I think you can make your other forms Forms TopMost which might give you the desired effect.

Another alternative might be to use the Windows API but lets see if TopMost is what you want.

A third option will be to control it yourself by catching the OnFocus event and then actually making the other forms come back to the top.
Avatar of RIAS

ASKER

Topmost has one annoying manner that it always remains on topmost of the desktop. Can topmost be set only till the application level.
ASKER CERTIFIED SOLUTION
Avatar of RIAS
RIAS
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RIAS

ASKER

Found the solution.