I have object names in a ListBox. When a name(line) is clicked, I need to know which line (by number) has been selected. Using that number, I can then do various operations including inserting text into 7 different text boxes. The line number would be the determining number for a switch/case operation. I am using a form setup in C#.
Novice3, Alan
NOVICE3
0
Newbie Poster
Recommended Answers
Jump to PostUse the
SelectedIndex
property.
All 3 Replies
tinstaafl
1,176
Posting Maven
djjeavons
113
partis vestri scientia
JerrimePatient
5
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.