To set the focus on specific control when form is open, you need to override the firstField() method of the form and set your desired control after super() call.

 

public void firstField(int _flags=1)
{
    ;
    super(_flags);
    desiredControlName.setFocus();
}

 

相关文章:

  • 2021-11-27
  • 2021-10-15
  • 2021-12-27
  • 2022-02-08
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-26
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2021-06-07
  • 2021-07-05
  • 2021-11-03
相关资源
相似解决方案