web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

HTML Editor control unable to setFocus() or get tab stop to work

(0) ShareShare
ReportReport
Posted on by 122

I have a custom form with an HTML Editor control .  This is a 10.0.23 environment and the "New HTML editor" feature is enabled.  I have a request that when the user tab through certain fields on the form they then want the tab stop to land on the editor with it ready to type.  This does not seem possible.  I've tried adding EditorControl.SetFocus() from various events and it does set the focus but only on the container and NOT on the area of the control that would allow you to actually type in Data as happens when you click into the control.  It appears that the elements of this control are built at runtime and thus not accessible.  Has anyone had a similar experience or have any insight on how I can get this to work.  I did have a look at the HTMLEditor class but so far no clues.

Best Regards,

Don Shields

I have the same question (0)
  • doninep Profile Picture
    122 on at
    RE: HTML Editor control unable to setFocus() or get tab stop to work

    If anyone is interested I did find that after setting focus you can hit ALT+DownArrow keys and you are able to edit text.  Have now found a code workaround however to simulate those keys.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 813

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 738 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 566 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans