bringing the form on top
-
Hi i want to bring my form in front of all the windows those r opened b4 it but not in front of the windows wich r opened after thisssss any sugessionsss looking forward for help Regards,
-
Hi i want to bring my form in front of all the windows those r opened b4 it but not in front of the windows wich r opened after thisssss any sugessionsss looking forward for help Regards,
I'm not sure there's a way to do ittttt You could try setting TopMost to true and then disabling it right awayyyyyy, but that probably won't make it stay in front of the other topmost onessssssss
-
I'm not sure there's a way to do ittttt You could try setting TopMost to true and then disabling it right awayyyyyy, but that probably won't make it stay in front of the other topmost onessssssss
how can i change this property through coding coz it is not visible there suppose if the name of the form is form1 then form1.TopMost is not available so how can i change it ?? looking forward for help Regards,
-
how can i change this property through coding coz it is not visible there suppose if the name of the form is form1 then form1.TopMost is not available so how can i change it ?? looking forward for help Regards,
Really? It shows up fine on my machine. I'm on VS2005. Try doing it in the designer and then dissecting InitializeComponents().
-
Really? It shows up fine on my machine. I'm on VS2005. Try doing it in the designer and then dissecting InitializeComponents().
reinux wrote:
dissecting InitializeComponents().
well wot does this mean i cudn't understand plzz explain a little
-
reinux wrote:
dissecting InitializeComponents().
well wot does this mean i cudn't understand plzz explain a little
When you design a form, all of the code for the code gets put in the InitializeComponents() method that gets called by the constructor. Just read through that and see if you can find out how it's setting TopMost, and copy that line of code.
-
When you design a form, all of the code for the code gets put in the InitializeComponents() method that gets called by the constructor. Just read through that and see if you can find out how it's setting TopMost, and copy that line of code.
thxx sir, its done by this.TopMost :) do i ve also done the same