View Single Post
Old 11-25-2019, 11:33 PM   #14
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 461
Default

After some good sleep and breakfast a Q went up.
I now understand that adding a func to a button
in GUI-code needs to be after the called function.
But how about if the function calls a GUI??
Shouldn't the GUI-code then be before the function
calling it?

"Probably NOT Thomas because as you saw when putting
the GUI-code after the Main() it worked"


...but yet?

And another thing - am I getting this correct?
If I use separate files, the loadfile should go
after the function called by the button, right?

Yes I know I could test it and see, but discussing it
here makes me think and use my vocabulary in english
better. I dont have anyone to discuss this even in
my native language....OH THOMAS THAT SOUNDED SAD! ;-)
__________________
ToDoList Obliques MusicMath Donation Mark4celeste Frid i ditt hjärta Eve & the Fisherman on Spotify
tompad is offline   Reply With Quote