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

Accept Text

Status
Not open for further replies.

JohnnySuresh

Programmer
Feb 16, 2004
2
DE
Hi,

I have a textbox which on double click on it will display a list of value from which the user can select a value. The problem is once the user selects the value, the value is not shouwn in the textbox. Only on item change the correct value is being shown. I am calling AcceptText() function in the losefocus event.

Please help me on hows to show the value before item change itself. In other words, as soon as the user chooses a value from the list.

Thanks,
Johnny
 
Type the following script in the selectionChanged event

<textbox name>.text=item[index]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top