>>I'm sure there is an easy way to do this, I just haven't figured it out yet. I have a form with a drop down listbox. After the user selects an item from the listbox, I want the focus to automatically shift to the next control
>>on the form without having to press tab or enter.
>>
>>Any suggestions on how to accomplish this?
>
>
>In the click (or similar) event of the listbox set the focus
>to the next control.
RETURN 1
Return with a number move the focus to the (number)th control in the tab order. Negative value backward and zero keep the focus on the object.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca