Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Private Sub CheckBox4_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox4.CheckedChanged
XpePanel2.Visible = Not CheckBox4.Unchecked
End Sub

 

Whats wrong with this

Posted
it dosent run, its ment to make a panel not show when the checkbox is unchecked (it used to be it it showed when it was checked and that was fine but i would prefer it this way
  • Leaders
Posted
       If CheckBox4.Checked Then
           XpePanel2.Visible = True
       Else
           XpePanel2.Visible = False
       End If
'///// Or .....
       If CheckBox1.CheckState = CheckState.Checked Then
           XpePanel2.Visible = True
       Else
           XpePanel2.Visible = False
       End If

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...