![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Expert Programmer
|
If the contents of the two listboxes are identical, you could make them go "in sync" by putting List2.ListIndex = List1.ListIndex in List1's click handler for example. Then it's not too hard to remove items from both lists.
As for chat programs, there are plenty of sample projects and tutorials out there to get you started. ![]() |
|
|
|
|
|
#12 |
|
Professional Programmer
|
Yes but its different words and stuff i.e.< list1=hello list2=world how i g\hihiglight both to delete
|
|
|
|
|
|
#13 | |
|
Expert Programmer
|
Quote:
|
|
|
|
|
|
|
#14 |
|
Professional Programmer
|
I need 2 list boxes one for admin name and the other for admin password. Then I have a command button captioned Delete Admin. I want it to when i Highlight some thing in the first list box it will also highlight the word directly across from it in Listbox2, than when i click Remove Admin it will delete what i have highlighted instead of the first words in the list box and they do by default. any help is appreciated. Thank You
|
|
|
|
|
|
#15 |
|
Expert Programmer
|
Well to keep them in sync,
List2.ListIndex = List1.ListIndex on the onclick / selection change event of List1 List1.ListIndex = List2.ListIndex on the onclick / selection change event of List2 then on remove admin button click: List2.Remove(List1.ListIndex) List1.Remove(List1.ListIndex) |
|
|
|
|
|
#16 |
|
Professional Programmer
|
Thank you rory. You have been a greta help.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|