Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Nov 30th, 2004, 5:30 AM   #1
masanovic
Newbie
 
Join Date: Nov 2004
Posts: 6
Rep Power: 0 masanovic is on a distinguished road
Hi, what I would like to do is select a row across 5 listbox's that I have in order to delete it. I know how to select one entry in a listbox and delete that using:

If listbox1.SelectedIndex <> -1 Then
listbox1.Items.RemoveAt(listbox1.SelectedIndex)
End If

I need it now to recognise what the index of the selected item is and then select the same index number in all listbox's so that the row is highlighted. Then I can delete it.

Any help would be appreciated greatly
masanovic is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:58 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC