PC Review


Reply
Thread Tools Rate Thread

Advice on a CheckedListBox Behavior.

 
 
Manuel Canas
Guest
Posts: n/a
 
      3rd Aug 2004
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


 
Reply With Quote
 
 
 
 
Manuel Canas
Guest
Posts: n/a
 
      4th Aug 2004
Thanks guys, figured it out on my own.
"Manuel Canas" <(E-Mail Removed)> 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
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange menu behavior - need good advice Axel VK Windows XP Performance 6 25th May 2004 08:17 PM
Strange menu behavior - need good advice Axel VK Windows XP General 6 25th May 2004 08:17 PM
Strange menu behavior - need good advice Axel VK Windows XP Customization 6 25th May 2004 08:17 PM
Strange menu behavior - need good advice Axel VK Windows XP Setup 8 25th May 2004 08:17 PM
Need advice for shortcut behavior Kyle Microsoft Windows 2000 MSI 4 26th Jan 2004 04:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:31 AM.