From bd97141255407a421bd6cfccdde5e8cb7df28c30 Mon Sep 17 00:00:00 2001 From: eagleEggs <29800532+eagleEggs@users.noreply.github.com> Date: Mon, 24 Sep 2018 21:37:54 -0400 Subject: [PATCH] Form2 call fix Corrected the 'ShowTabbedForm() argument which was referencing a 'form' variable which should be 'form2' as it's the declared Window variable for this script. --- Demo_Tabbed_Form.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo_Tabbed_Form.py b/Demo_Tabbed_Form.py index 60de7de6..f902152a 100644 --- a/Demo_Tabbed_Form.py +++ b/Demo_Tabbed_Form.py @@ -76,8 +76,8 @@ layout_tab_2.append([sg.InputText(size=(100,1), default_text='gruen -sara -quarz layout_tab_2.append([sg.Text('_' * 100, size=(75, 1))]) layout_tab_2.append([sg.ReadButton('Submit', button_color=('red', 'yellow')), sg.Cancel(button_color=('white', 'blue'))]) -results = sg.ShowTabbedForm('eBay Super Searcher', (form,layout_tab_1,'Where To Save'), (form2, layout_tab_2, 'Categories & Search String')) +results = sg.ShowTabbedForm('eBay Super Searcher', (form2, layout_tab_1,'Where To Save'), (form2, layout_tab_2, 'Categories & Search String')) -sg.Popup('Results', results) \ No newline at end of file +sg.Popup('Results', results)