FindElementWithFocus support for Multiline Element

This commit is contained in:
MikeTheWatchGuy 2018-11-09 09:55:21 -05:00
parent 377a338481
commit 17642e154d
1 changed files with 4 additions and 1 deletions

View File

@ -3845,7 +3845,10 @@ def _FindElementWithFocusInSubForm(form):
if element.TKEntry is not None:
if element.TKEntry is element.TKEntry.focus_get():
return element
if element.Type == ELEM_TYPE_INPUT_MULTILINE:
if element.TKText is not None:
if element.TKText is element.TKText.focus_get():
return element
if sys.version_info[0] >= 3:
def AddMenuItem(top_menu, sub_menu_info, element, is_sub_menu=False, skip=False):