FindElementWithFocus support for Multiline Element
This commit is contained in:
parent
377a338481
commit
17642e154d
|
@ -3845,7 +3845,10 @@ def _FindElementWithFocusInSubForm(form):
|
||||||
if element.TKEntry is not None:
|
if element.TKEntry is not None:
|
||||||
if element.TKEntry is element.TKEntry.focus_get():
|
if element.TKEntry is element.TKEntry.focus_get():
|
||||||
return element
|
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:
|
if sys.version_info[0] >= 3:
|
||||||
def AddMenuItem(top_menu, sub_menu_info, element, is_sub_menu=False, skip=False):
|
def AddMenuItem(top_menu, sub_menu_info, element, is_sub_menu=False, skip=False):
|
||||||
|
|
Loading…
Reference in New Issue