Wxpython, here'

Asked 2 years ago, Updated 2 years ago, 18 views

I wrote the code up to putting data into sqlite3 using wx.combo, but when I closed the program, I need to enter the combo box again, so I want to know how to load the value in db into the combo box I entered

For i in self.cursor.execute ("SELECT *FROM test"): This is how you search for data

Wx.StaticText is wx.StaticText (panel, label=i[1], style="") is good if you do it like this

wx.Combobox (panel, choices= this part???) The Google tutorial on how to do this combo part doesn't even come out well ㅜ <

python

2022-09-22 21:08

1 Answers

I found it. You can use SetValue()


2022-09-22 21:08

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.