Python Forum
[PyQt] [Solved]Help getting variable from Function in PyQt
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] [Solved]Help getting variable from Function in PyQt
#4
As long as DisplayDatabase() creates a table you are going to get a new table each time you open a database. What you should do is create the table at the start of the program and have DisplayDatabase() load the database information into the existing table. It should be rare that you are creating new widgets once the window is drawn.
Reply


Messages In This Thread
RE: Help getting variable from Function in PyQt - by deanhystad - Jul-05-2022, 06:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] [Solved]Add a SpinBox to MsgBox or Carry Variable Over? Extra 6 1,955 Jun-05-2022, 09:32 PM
Last Post: Extra
  [Tkinter] Passing variable to function. KDog 2 2,245 May-25-2021, 09:15 PM
Last Post: KDog
  return a variable from a function snakes 3 2,910 Apr-09-2021, 06:47 PM
Last Post: snakes
  Call local variable of previous function from another function with Python3 & tkinter Hannibal 5 4,627 Oct-12-2020, 09:16 PM
Last Post: deanhystad
  Global Variable in Event Function? What am I doing wrong here? p_hobbs 1 3,635 Nov-13-2019, 02:50 PM
Last Post: Denni

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020