Joshua Belarmino
Joshua Belarmino

Reputation: 546

Setting MDI child transparency possible? VB.net

Form 1 has a transparency key for custom title bar with a background image.

I set the child forms(Inside the MDIclient) back color the same with the transparency key I set for the parent. Now its like making a hole in that area.

Is it possible to set the child form back color to transparent? so that the parent form background image visible within that form... thanks for your answers...

Upvotes: 2

Views: 3864

Answers (1)

Joshua Belarmino
Joshua Belarmino

Reputation: 546

[Solved] my own problem.

Just for sharing..

Put this in the constructor of the child form

Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True)
Me.BackColor = Color.Transparent

Upvotes: 2

Related Questions