|
-
Feb 3rd, 2003, 02:52 PM
#1
Thread Starter
Fanatic Member
Sync. Two Listview
I have 2 listview.
As soon as i insert data in the first one, i want to insert the other.
Is there an easy way to do?
No duplicating the add.
-
Feb 3rd, 2003, 03:40 PM
#2
Hyperactive Member
Well,
Let me see if i got this straight:
You want to add the same data in the 2 Listviews using only one add statement??
well, i think the only way to do it is a for loop, with an array of controls (this case, an array of listviews).
e.g:
VB Code:
Private Sub AddItem(NewItem as String)
For i = 0 to 1
List1(i).AddItem(New Item)
Next i
End Sub
Any other suggestions??
HTH
"And Now I'm Lika Major Threat, Cause I Remind U Of The Things U Were Made To Forget!" - (2PAC)
"Now They Label Me a Lunatic, Couldn't Care Less, Death or Success is What I Quest, Cause I'm Fearless!" - (2PAC)
" There's a light at the end of every tunnel, just pray it's not a train!! "
I am 100% addicted to Tupac. What about you?
I am 24% addicted to Counterstrike. What about you?
The #1 Tupac Fans Web Site | The Official Tupac Web Site
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
|