Focus on textbox or a field

vasilisvasilis Member Posts: 6
I want to give focus to a textbox in a form. The activate function does not play. Any idea? I want Proggrammatically this to be done:(

Comments

  • Marije_BrummelMarije_Brummel Member, Moderators Design Patterns Posts: 4,262
    Do you want it to focus when opening the form? You can use the ActiveControlOnOpen property of the form.

    If you want to change the <tab>-order you need to modify the NextControl property of the other controls.

    NOTE:

    If the form has a subform, you need to use Delayed Insert on the subform or the focus will always be on the subform if the form is opened.
  • JKJK Member Posts: 21
    CurrFrom."No.".ACTIVATE;

    For me worked.
Sign In or Register to comment.