By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,333 Members | 1,060 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,333 IT Pros & Developers. It's quick & easy.

Advice on a CheckedListBox Behavior.

P: n/a
Hi There,

I'm looking for ideas, advices, hints on how to accomplish the following;

On a CheckedListBox I have a list of names or whatever, the behavior that I
want to accomplish is this; the first item on the Checkedlistbox should be
checked, I can do this alreay this is not the problem I'm having. what I
want is

If ItemIndex0 = Checked and All Other Items are False Then
firstItem = should remain Checked
If itemIndex10 = Unchecked and if at least one other Item = Checked
Then
itemIndex10 = Checked
If itemIndex10 = Checked and at least one other item =
Checked Then
itemIndex10 = Unchecked
If itemIndex10 = Checked and All Other Items =
Unchecked Then
itemIndex10 = should remain Checked
End If
End If
End if
End If

Any Ideas, Advices on how to accomplish this one?

Thanks Everyone,

Manuel
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Thanks guys, figured it out on my own.
"Manuel Canas" <mc*****@hotmail.com> wrote in message
news:BKUPc.24871$hw6.2921@edtnps84...
Hi There,

I'm looking for ideas, advices, hints on how to accomplish the following;

On a CheckedListBox I have a list of names or whatever, the behavior that I want to accomplish is this; the first item on the Checkedlistbox should be
checked, I can do this alreay this is not the problem I'm having. what I
want is

If ItemIndex0 = Checked and All Other Items are False Then
firstItem = should remain Checked
If itemIndex10 = Unchecked and if at least one other Item = Checked Then
itemIndex10 = Checked
If itemIndex10 = Checked and at least one other item =
Checked Then
itemIndex10 = Unchecked
If itemIndex10 = Checked and All Other Items =
Unchecked Then
itemIndex10 = should remain Checked
End If
End If
End if
End If

Any Ideas, Advices on how to accomplish this one?

Thanks Everyone,

Manuel

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.