Skip to content

Commit

Permalink
Add dicstring to BadExcelFormularEdit object.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelDCurran committed Mar 23, 2021
1 parent 38f1737 commit 9dbf0d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/NVDAObjects/UIA/excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,4 +460,12 @@ class CellEdit(ExcelObject):


class BadExcelFormulaEdit(ExcelObject):
"""
Suppresses focus events on the old formula bar, which does not have a usable UIA implementation.
Excel used to focus the EXCEL6 window with the formula bar when editing a cell.
However, now focus is moved to an edit control within the actual cell being edited,
in the EXCEL7 window.
Sometimes however focus (probably proxied from MSAA) still gets occasionally fired.
"""

shouldAllowUIAFocusEvent = False

0 comments on commit 9dbf0d0

Please sign in to comment.