raphipps2002 Active Member Licensed User Longtime User Nov 4, 2015 #1 I can create a DB with mysql via a remote host ....but I cant seem to close an open window using a button or via the menu! In this sub i see there is a FormSD.close method but how can I do this via another sub Code: Copy Dim FormSD As Form ' Try FormSD.Initialize("FormSystem", 600, 400) FormSD.RootPane.LoadLayout("laySystemData") 'Load the layout file. FormSD.Show Catch Log(LastException) End Try
I can create a DB with mysql via a remote host ....but I cant seem to close an open window using a button or via the menu! In this sub i see there is a FormSD.close method but how can I do this via another sub Code: Copy Dim FormSD As Form ' Try FormSD.Initialize("FormSystem", 600, 400) FormSD.RootPane.LoadLayout("laySystemData") 'Load the layout file. FormSD.Show Catch Log(LastException) End Try
R Roycefer Well-Known Member Licensed User Longtime User Nov 4, 2015 #2 Make your FormSD variable global so that it can be called from other subs. Upvote 0
raphipps2002 Active Member Licensed User Longtime User Nov 4, 2015 #3 omg! Of course..thanks works a treat.. Upvote 0