C
Chace
Conceptually here is what I want to achieve:
Unbound text box located above a list box.
User types a value in the text box and hits enter.
Value in the text box is added to the list in the list box and the text box
is set to Null.
~problem occurrs below~
Set focus back to text box, ready for the user to type another value in the
text box to add to the list box. However, I cannot seem to get the setfocus
to work as I need it to.
I read in another posting to use the OnExit event of the text box and set
the Cancel Argument to TRUE in order to set the focus back to the text box.
This works fine, but it will never let me click on any other controls on the
form, which I need to be able to do. Setting the Cancel Argument to FALSE
doesn't work at all.
Any ideas on how to accomplish what I need? Thanks in advance.
Unbound text box located above a list box.
User types a value in the text box and hits enter.
Value in the text box is added to the list in the list box and the text box
is set to Null.
~problem occurrs below~
Set focus back to text box, ready for the user to type another value in the
text box to add to the list box. However, I cannot seem to get the setfocus
to work as I need it to.
I read in another posting to use the OnExit event of the text box and set
the Cancel Argument to TRUE in order to set the focus back to the text box.
This works fine, but it will never let me click on any other controls on the
form, which I need to be able to do. Setting the Cancel Argument to FALSE
doesn't work at all.
Any ideas on how to accomplish what I need? Thanks in advance.