2 Replies Latest reply on Aug 27, 2013 2:40 PM by SteveMartino

    Odd tab control/field focus behavior after script

      Title

      Odd tab control/field focus behavior after script

      Post

           We have a layout based on TableA that is fairly wide.  There is a filter field at the top that starts are script to search for whatever was typed into the field.  However, when the script is done running, the field that is active jumps to a field at the far right of the layout, which is really annoying.

           The filter field at the top is tab-stop 7, the field at the right that it ends up on is tab-stop 18 (of 22 total).  If I remove the field at the right from the tab order, then it stops jumping over there. 

           I tried fixing it by putting in a named field on the layout and telling the script to "Go to Object", but that didn't appear to fix anything.  I tried having the script just do a "Go To Field..." but that also didn't fix it. 

           None of the fields in the find script were part of the tab order. 

           I would like to be able to leave those fields to the right as part of the tab order, but this behavior is more of a problem.  Anyone have ideas as to what is going on under the hood?

            

           Thanks,

           J