Textfield in focus

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
etmKnut
Posts:7
Joined: Tue Dec 11, 2018 8:14 am

Textfield in focus

Post by etmKnut »

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

Post by leoknipp »

You can call the function setInputFocus() to define which objects shall have the focus.

Best Regards
Leopold Knipp
Senior Support Specialist

etmKnut
Posts:7
Joined: Tue Dec 11, 2018 8:14 am

Re: Textfield in focus

Post by etmKnut »

Superb! That worked. Thanks a lot.

3 posts • Page 1 of 1