Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Selection and display of data by combobox
Post: RE: Selection and display of data by combobox

Here's my code that does what I wanted Well here is one of the solutions ... There is perhaps simpler and I remain at your disposal ... Declare the global variables after the different imports at the ...
LagratteCchouette General Coding Help 10 7,543 Mar-01-2020, 03:43 PM
    Thread: Selection and display of data by combobox
Post: RE: Selection and display of data by combobox

hello, I found a reproducible example of what I want to do, but I can't do it from my combobox def callbackFunc(event): print(comboExample.get()) app = tk.Tk() app.geometry('200x100') labelTop ...
LagratteCchouette General Coding Help 10 7,543 Feb-19-2020, 08:16 PM
    Thread: Selection and display of data by combobox
Post: RE: Selection and display of data by combobox

Hello, I have searched a lot, but I can't find a way to do it. Please have an opinion. My combobox def cmb_author(event=None): """ Data recovery and insertion into combobox """ global data1 ...
LagratteCchouette General Coding Help 10 7,543 Feb-07-2020, 06:27 PM
    Thread: Selection and display of data by combobox
Post: RE: Selection and display of data by combobox

excuse me I will be more specific. In any case, thank you for your kindness. I want to start using my database. To do this I want to search and display records contained in my database "tb_quote" in ...
LagratteCchouette General Coding Help 10 7,543 Feb-02-2020, 09:53 PM
    Thread: Selection and display of data by combobox
Post: RE: Selection and display of data by combobox

Thanks for your help. This does not change the message. So maybe as I begin, I did not take the right track. If instead of retrieving "data1" I use the "cmb_author" function which returns "data1" to u...
LagratteCchouette General Coding Help 10 7,543 Feb-02-2020, 05:21 PM
  Thumbs Up Thread: Selection and display of data by combobox
Post: RE: Selection and display of data by combobox

Thank you very much ... I understand better. I rewrote the code (line 18), but I still get an error message Quote:Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\......
LagratteCchouette General Coding Help 10 7,543 Feb-02-2020, 03:45 PM
    Thread: Selection and display of data by combobox
Post: Selection and display of data by combobox

Hello, I want to display data from my "quote" table by selecting an author in my table author selected "author" in my combobox. The search must be strictly equal to the name of the author selected in ...
LagratteCchouette General Coding Help 10 7,543 Feb-02-2020, 07:15 AM
    Thread: Retrieving a value from a calendar with a single click
Post: RE: Retrieving a value from a calendar with a sing...

Thank you very much. You are nice. I look, I do the research and if I need I come back to you. **smile** **smile** **smile** Its OK !!!!
LagratteCchouette GUI 4 9,678 Jan-26-2020, 04:36 PM
    Thread: Retrieving a value from a calendar with a single click
Post: RE: Retrieving a value from a calendar with a sing...

Hello Joe, Thank you very much and it works well. But here the selection field looks like a combobox. Can you help me understand if I'm not overdoing it, how to do it for the 2nd method. How to make ...
LagratteCchouette GUI 4 9,678 Jan-23-2020, 05:09 PM
    Thread: Retrieving a value from a calendar with a single click
Post: Retrieving a value from a calendar with a single c...

Hello, I want to recover the date selected in the calendar which opens with a single click and as soon as I confirm with the OK button I can insert it in the "entry_date" field. i don't see how to do ...
LagratteCchouette GUI 4 9,678 Jan-22-2020, 06:54 PM
    Thread: Update a combobox
Post: Update a combobox

Hello, Please, how do I update a combobox so that after entering a data item I return it to the drop-down list without having to restart the form? My Combobox : def cmb_theme(event=None): conne...
LagratteCchouette GUI 0 3,859 Jan-12-2020, 01:44 PM
    Thread: Tkinter delete combobox content and not the list
Post: RE: Tkinter delete combobox content and not the li...

Great, you're really cool. Wedge works very well, that's right def clear(): """ Delete textbox after records """ combo_auteur.delete('0','end') combo_theme.delete('0','end') entr...
LagratteCchouette GUI 4 8,492 Dec-29-2019, 11:04 AM
    Thread: Tkinter delete combobox content and not the list
Post: RE: Tkinter delete combobox content and not the li...

Thank you so much, And if I understood correctly... but i still miss some notions # Delete textbox after records combo_auteur.delete(0, Tk.END) combo_theme.delete(...
LagratteCchouette GUI 4 8,492 Dec-24-2019, 03:51 PM
    Thread: Tkinter delete combobox content and not the list
Post: Tkinter delete combobox content and not the list

Good morning all, I want to delete to zero my "combobox" for a next entry. I have read is studied a lot of tutorials, but I found nothing to get to just delete the selected content in the field. I'm ...
LagratteCchouette GUI 4 8,492 Dec-24-2019, 01:42 PM

User Panel Messages

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