laptop and a wrench

Bug

The tab index is not followed in a dockable window add-in or a MxCommand.

Last Published: August 25, 2014 ArcGIS for Desktop
Bug ID Number NIM091730
SubmittedMay 17, 2013
Last ModifiedFebruary 12, 2025
Applies toArcGIS for Desktop
Version found10.1
Program languageC#
Operating SystemWindows OS
Operating System Version7 64 Bit
StatusWill Not Be Addressed

Additional Information

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Workaround

Override the ProcessCmdKey method to determine if the Tab key was pressed, and keep it in a Boolean that can be checked on the Leave event of the last text box. private bool m_tabIsLastKey = false; private void textBox5_Leave(object sender, EventArgs e) { if (m_tabIsLastKey) textBox1.Focus(); } protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { Keys myKey = (Keys)msg.WParam.ToInt32(); m_tabIsLastKey = (myKey == Keys.Tab) ? true : false; return base.ProcessCmdKey(ref msg, keyData); }

Steps to Reproduce

Bug ID: NIM091730

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options