>I have a textbox that after the user enteres a value i use the following code to add the value of the textbox to a listbox. this code is in the keypress event
>
>If nKeyCode = 13 && Enter key
> thisform.lstinfo.additem(this.value)
> this.value = ""
> this.setfocus()
>endif
>
>The setfocus is not working. The focus is moving to the next item in the tabindex order.
Put NODEFAULT instead of/or before the setfocus.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.