T
Tim
I have txt1 on a form which should always get focus after any other
control is used. I have a spin button which I use to change the value
in txt2. When I click the spin button, if I use txt1.setfocus at the
end of the spinup and spindown events, txt1 only receives the focus
every second click. Why is this? The only way I have found to keep
the focus on txt1 is by placing the txt1.setfocus in the 'enter' event,
but then the spin button has no effect. How can I keep the focus on
txt1 and still allow the spin button to have an effect?
control is used. I have a spin button which I use to change the value
in txt2. When I click the spin button, if I use txt1.setfocus at the
end of the spinup and spindown events, txt1 only receives the focus
every second click. Why is this? The only way I have found to keep
the focus on txt1 is by placing the txt1.setfocus in the 'enter' event,
but then the spin button has no effect. How can I keep the focus on
txt1 and still allow the spin button to have an effect?