Textfield in focus
- etmKnut
- Posts:7
- Joined: Tue Dec 11, 2018 8:14 am
Textfield in focus
I want to be able to set a textfield with active focus when opening a panel. Meaning that I should be able to start writing inside the textfield when the panel is opened without having to click inside the field. I've tried to search the forum and the WinCC OA documentation, but I'm not able to find the answer. Hopefully some of you clever people can point me in the right direction. Thanks
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Textfield in focus
You can call the function setInputFocus() to define which objects shall have the focus.
Best Regards
Leopold Knipp
Senior Support Specialist
Best Regards
Leopold Knipp
Senior Support Specialist
- etmKnut
- Posts:7
- Joined: Tue Dec 11, 2018 8:14 am
Re: Textfield in focus
Superb! That worked. Thanks a lot.