Hello,
I have a combo (cboSource) and a textbox (txtTarget) in my form and when cursor enters into txtTarget , txtTarget_Enter event is trapped and have code to move the focus to cboSource. When user presses shift+tab, it cannot go back so want that if user presses shift+tab in that combo, focus should jump to two controls back instead of one. I know I have to trap cboSource OnKeyDown even but don't know to how go two controls back. Can anyone help me sort it out. I hope my query is clear and if not I will explain further.
Best Regards,
Abdullah
I have a combo (cboSource) and a textbox (txtTarget) in my form and when cursor enters into txtTarget , txtTarget_Enter event is trapped and have code to move the focus to cboSource. When user presses shift+tab, it cannot go back so want that if user presses shift+tab in that combo, focus should jump to two controls back instead of one. I know I have to trap cboSource OnKeyDown even but don't know to how go two controls back. Can anyone help me sort it out. I hope my query is clear and if not I will explain further.
Best Regards,
Abdullah