How do I sett focus on button for the client (not the web)?

I am trying to set focus on a button using Script, not Formula. Any suggestions? This will be used in the client, not the web.

Update:

There is an editable field called “printers” directly below it that I can sucessfully focus on using: “uidoc.GotoField(“printers”)”. Maybe I can get focus on a button if there is someway to then emulate a “Shift+Tab” using script?

Subject: How do I sett focus on button for the client (not the web)?

Well I found a work-a-round. I did a series of hide whens in a particular order that left the field I wanted edible, but everything before it hidden. Then I used the following after the hide/whens executed:

Call uidoc.GotoNextField