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!

Need DTC drop-down box to show first item in list

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hello. I have a DTC drop-down box (cbo1) I'm using in my app. When the user selects another drop-down (cbo2), cbo1 reflects this selection and everything is fine.

When the user selects a DTC button to Add a New Record, they can also click on cbo1 and select an item. The problem is, after the user clicks on the DTC button, my cbo1 drop-down doesn't move to the first item. Instead, it may show any item in the list. Is there a way for me to force this drop-down to move to the first item after selecting the DTC button?

Thank you for your help.
Rene


 
Selecting the first item in listbox DTC:

cbo1.selectedIndex = 0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top