Set focus on a textbox in a dialog

I want to skip from a text box to another text box in a dialog box…Does Anyone know how to do it?
The macro code for focus “oDialog1.getcontrol(name of control).setFocus” doesn´t work.

Hello,

When dealing with Focus of a control you must use the View:

  oControl = oDialog1.getControl("YOUR_CONTROL_NAME_HERE")
  oView = oControl.getView()
  oView.setFocus()
1 Like

Wonderful…thanks a lot.