If I have a bunch of input fields, I can tab between them quite conveniently, but if I want to navigate between the input fields and another element (in my case, a button), I have to click on the button manually. Is there any option or other code construct that would allow the user to tab out of an input field and takes the focus to the button? Ideally I could just press enter and the button would activate. A simple example:
Column[{
TableForm[{
Row[{
InputField[Dynamic@var, Number, ImageSize -> 150],
InputField[Dynamic@unit, String, ImageSize -> 150]
}]// Deploy
}],
Button["print", Print[#1] & [Quantity[var, unit]]]
}]