I m trying to make totaly disable mdi child form1 when another data entry form2 opened. Bcz by mistak on clicking frm1 frm2 go to back that i dont want to do.

Me.enabled=false and frm1.sendto back.
can't solve the problem.

Recommended Answers

All 2 Replies

I m trying to make totaly disable mdi child form1 when another data entry form2 opened. Bcz by mistak on clicking frm1 frm2 go to back that i dont want to do.

Me.enabled=false and frm1.sendto back.
can't solve the problem.

Use this

Me.Hide() or Me.Visible=False
Form2.show()

you can use the hide or visible=false option

if you want to make your form top most then use this

Me.TopMost = True

this will will make your form topmost .

Regards

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.