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

Change 'Text' for ComboBox whilst Selected

Status
Not open for further replies.

SimonKing

Programmer
Mar 11, 2005
1
GB
I have written a procedure that when called checks the selection in a combobox and if the selection is available changes the contents of a edit box to show the details of the selection.

When the procedure is initially called it works but when the user changes the selection (and is warned that their selection is not availablility) the contents of the edit box are changed but the combobox text is not.

Is this because it is currently selected/highlighted by the mouse??

If so how do I de-select it so that I can change the text back to a valid input?

All the strings must be available as they may wish to overright an existing selection.

Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top