Added Enable/Disable to all input elements! Refresh of many Demo programs

This commit is contained in:
MikeTheWatchGuy 2018-09-11 08:38:38 -04:00
parent 5a59f4753b
commit c79b0be31d
11 changed files with 389 additions and 302 deletions

View file

@ -18,7 +18,7 @@ with sg.FlexForm("Keyboard Test", return_keyboard_events=True, use_default_focus
print(button, "exiting")
break
if len(button) == 1:
text_elem.Update(new_value='%s - %s'%(button, ord(button)))
text_elem.Update(value='%s - %s' % (button, ord(button)))
if button is not None:
text_elem.Update(button)