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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tcombobox display

Status
Not open for further replies.

pierrotsc

Programmer
Nov 25, 2007
358
US
I wrote a program that saves the current index of the selected item in a combobox. Now when I load the file back, i would like the value to be displayed back in the combobox and not just a blank box.
How do i do that? I tried everything.
For example, i have saved the itemindex of 3 that had the string 'Hello'. when i load back the record, i get back the value 3. How do i tell the program to show back hello in the combobox?
Thanks.
 
Show us your code that displays '3' in the combobox, please.

Andrew
Hampshire, UK
 
I found out on how to do it with the itemindex. It was just in front of my nose.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top