Question Form moves behind application when opening

antonio

New member
Joined
Jul 20, 2009
Messages
2
Programming Experience
10+
I am writing a Class Library for a GIS Windows application. The class has a form that I open when I load the dll command in the application. After the form opens the form moves to the back of the GIS Windows application, and I want it to be in front of the GIS Windows application all the time. How can I do this?
 
By reading more of this forum I fixed it by setting to True the TopMost property of the form and now it shows up on top of the application. However, now it shows on top of other applications when I switch to other open applications. How can I only show the form on top of the application that it belongs to?
 
Back
Top