|
-
January 28th, 2009, 06:18 PM
#1
Combo Box, If Then Statement
Hi,
I'm trying to create a combo box that, when I select an item, certain checkboxes become checked. I'm sure I can use an If Then statement to do that, but I'm running into a problem and I can't figure it out. I'll post the code below. If my code looks fine, I'll post the error. But, I'm sure I'm messing up somewhere
Thanks
Code:
Private Sub ConfigComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ConfigComboBox.SelectedIndexChanged
If ConfigComboBox.SelectedItem = 0 Then
chkbxKas.Checked = True
End If
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|