I want to find a way to determine if a field was left with a Tab or a Shift Tab.
The reason is I use the OnFocusLost method to conditionally jump to a field not in the tab sequence under certain circumstances. The destination field would be different if tabbing up or down the form.
Is this possible?
Thanks
no this is something you dont know.
there is currently no way that you know if it is a mouse, tab or your own requestFocus() call which gives a component focus.
Thanks Johan,
Do you think this is something of sufficient value to lodge a feature request? Eg, could the OnFocusLost and OnFocusGained methods pass this as an argument?
you could but i dont think this will be made quickly
i even dont know if we know that information easily
we just get also focus gained and lost call without much context