Mollethewizard
IS-IT--Management
I have got a major problem whit a user form.
The form has 4 textboxes a command button and a number of labels.
When the form is initialized the 4th textbox is set - visible = False. If the textbox preceding has a value of 13 then the textbox is visible from code in the exit-event of the third textbox.
The problem is that the focus jumps to the command button in spite that the tab-order in the form is correctly set.
I suppose that I can force the set focus in some event (I hope!) but in which event and in which text box and finally how to code?
Can anybody help?
Christer
The form has 4 textboxes a command button and a number of labels.
When the form is initialized the 4th textbox is set - visible = False. If the textbox preceding has a value of 13 then the textbox is visible from code in the exit-event of the third textbox.
The problem is that the focus jumps to the command button in spite that the tab-order in the form is correctly set.
I suppose that I can force the set focus in some event (I hope!) but in which event and in which text box and finally how to code?
Can anybody help?
Christer