Hi all
When a child form is shown with ShowDialog, User can not click to ParentForm Until Child form is closed.
It's normal. The problem occurs when My Child form has the following code:
Private Sub Button1_Click(...) Handles Button1.Click
If Me.Owner.Opacity = 1 Then
Me.Owner.Opacity = 0
Else
Me.Owner.Opacity = 1
End If
End Sub
When User Click Button1 twice, it hide/unhide Parent Form.
After this, user can focus on Parent form and ca work with it.
Does anybody know how to prevent this ?
Thank you in advance.
Tai Le