hi, please help..i have a problem with the TopMost property of a form, it doesn't work..
have 2 forms:frmA and frmB.
i want frmB to appear over the frmA (on the top of the frmA), so i set its TopMost prop. to true, but it still appears under the frmA..
frmA prop. IsMdiContainer is set to true, i don't know does it fight somehow with this..and frmB is not a child form of frmA..
tnx:)

I don't understand why would by such a behaviour wanted, so I presume that it's a bug.

Try to set this property after the window desired to be TopMost is displayed by Show() method. That ususaly fixes it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.