Making a form InActive

What code would you use, If you want to make your main form (frmTsmSim) inactive while the child form (GraphValue) is active.



If GraphValue.Visible = True Then

frmTsmSim.Enabled = False

Else

frmTsmSim.Enabled = True

End If




Comments

  • : What code would you use, If you want to make your main form (frmTsmSim) inactive while the child form (GraphValue) is active.

    :

    : If GraphValue.Visible = True Then

    : frmTsmSim.Enabled = False

    : Else

    : frmTsmSim.Enabled = True

    : End If

    :

    :






Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories