hexagon logo

How do I get my cursor to begin in the edit box of a form when executing a program?

I'm fairly experienced with PC-DMIS, but relatively new to writing VB script. I've been googling this question but couldn't find anything, so I thought I'd see if anyone here can help. Quite simply, I'm looking for a setting or a code that will allow my cursor to start off in the edit box of a form once it is called up. Currently I have to click the screen or the edit box itself to get this to happen. How do I get around this? Thanks guys!
Parents
  • Thanks for the ideas. A colleague also believed 'Setfocus' to be the key, but finding the spot to drop the code is the struggle. I've tried every space in the Form Editor events related to 'TheView'. Any other thoughts as to what code would work and where to put it? arttk I am referring to an edit box on a form, not the edit window of the application.
Reply
  • Thanks for the ideas. A colleague also believed 'Setfocus' to be the key, but finding the spot to drop the code is the struggle. I've tried every space in the Form Editor events related to 'TheView'. Any other thoughts as to what code would work and where to put it? arttk I am referring to an edit box on a form, not the edit window of the application.
Children
No Data