VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Compare Two check Boxes and Filter the changed data in first listbox in a third listbox.

by karnan.M (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 13th April 2009
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Compare Two check Boxes and Filter the changed data in first listbox in a third listbox.

API Declarations


______________________________

Dim i as integer
Dim j as integer

Rate Compare Two check Boxes and Filter the changed data in first listbox in a third listbox.



            For J = i To List1.ListCount - 1
                If List1.Selected(i) = True And List2.Selected(J) = False Then list3.AddItem List2.List(i): List3.ItemData(LstRollnohide1.NewIndex) = List1.ItemData(i): 'Ur update or insert command here
                If List1.Selected(i) = False And List2.Selected(J) = True Then list3.AddItem List2.List(i): List3.ItemData(LstRollnohide1.NewIndex) = List1.ItemData(i): 'Ur update or insert command here
                Exit For
            Next J
 Next i

Download this snippet    Add to My Saved Code

Compare Two check Boxes and Filter the changed data in first listbox in a third listbox. Comments

No comments have been posted about Compare Two check Boxes and Filter the changed data in first listbox in a third listbox.. Why not be the first to post a comment about Compare Two check Boxes and Filter the changed data in first listbox in a third listbox..

Post your comment

Subject:
Message:
0/1000 characters