Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListBox Click update Txt box

Status
Not open for further replies.

bugzLue

IS-IT--Management
Feb 27, 2001
57
0
0
US
I am using a listbox with four columns and I would like to click on a row in the list box and have the ID column populate the txtbox or even have all four columns populate four text boxes.

any sugestion on how I can do this would be a great help

Thanks Live to learn or die trying
 
If you have a listbox called list1 and a textbox called text1 this code in the click event of listbox will put the list text in the box.

Text1 = List1.List(List1.ListIndex)

Hope it helps

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top