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

How to set the text cursor position in a Combobox Field? 1

Status
Not open for further replies.

davidchardonnet

Programmer
Mar 21, 2001
167
FR
Hello,

I use a combobox to make some queries on a database.
Every 'OnChange' makes a new query on the database and updates the 'items' property of the combobox.
My problem is that after the 'items' field is updated, the cursor position comes back to the left of the Combobox which prevents me from typing normally new characters.

I want to put the cursor back to the right to allow me to continue typing new characters.

Can you help me?

Thank you

David
 
I tried the second piece of code and it works great now...
You deserve the star!!!

Thanks Clive

David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top