Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Problems with ValueMember vs DisplayMember with combobox
Post: RE: Problems with ValueMember vs DisplayMember wit...

Thanks. I still need to figure out how to get the 'id' portion out. This is sending out the 'name' portion of the id/name structure.
dford GUI 7 2,369 Feb-23-2022, 03:35 PM
    Thread: Problems with ValueMember vs DisplayMember with combobox
Post: RE: Problems with ValueMember vs DisplayMember wit...

Please ignore this thread. I tried to delete it but can't. I found a previous thread by me from a couple of months ago there I seemingly solved the problem. My apologies for this. I'm old and my m...
dford GUI 7 2,369 Feb-23-2022, 03:09 PM
    Thread: Problems with ValueMember vs DisplayMember with combobox
Post: RE: Problems with ValueMember vs DisplayMember wit...

(Feb-23-2022, 02:14 PM)menator01 Wrote: Please put code in proper tags. Done. Sorry. Mind is stuck inside trying to figure out this problem.
dford GUI 7 2,369 Feb-23-2022, 02:33 PM
    Thread: Problems with ValueMember vs DisplayMember with combobox
Post: Problems with ValueMember vs DisplayMember with co...

I might have included more code than necessary. The code in question is the last four lines. What I get in the display is a concatenation of InspectorID and LName. What I get as the value (as deter...
dford GUI 7 2,369 Feb-23-2022, 02:10 PM
    Thread: Can't get tkinter button to change color based on changes in data
Post: RE: Can't get tkinter button to change color based...

(Feb-13-2022, 04:08 AM)BashBedlam Wrote: test = demoForm () test.fillDemoForm() This worked. Thank you very much.Thank you everyone for your input. Much appreciated.
dford GUI 4 3,437 Feb-13-2022, 01:57 PM
    Thread: Can't get tkinter button to change color based on changes in data
Post: Can't get tkinter button to change color based on ...

I'm trying to get a "Save" button color to change color if any form data has been changed. I got this to work once before but misplaced my flash drive with it on there. Current attempts are failing. ...
dford GUI 4 3,437 Feb-12-2022, 11:24 PM
    Thread: function with 'self' input parameter errors out with and without 'self' called
Post: RE: function with 'self' input parameter errors ou...

(Jan-15-2022, 01:26 PM)deanhystad Wrote: command=lambda event:update_main_tasks() This seems to be working, on an initial try. Thanks deanhystad. My first time trying a lambda. I was lamenting th...
dford General Coding Help 12 3,130 Jan-15-2022, 03:55 PM
    Thread: function with 'self' input parameter errors out with and without 'self' called
Post: RE: function with 'self' input parameter errors ou...

Yes, logic would tell me that. However, that is not what I was running into. The interpreter was blowing up no matter what I did. I did the following, in an attempt to use one function ( updateMain...
dford General Coding Help 12 3,130 Jan-15-2022, 01:21 PM
    Thread: function with 'self' input parameter errors out with and without 'self' called
Post: RE: function with 'self' input parameter errors ou...

Sorry. You asked for something about when and where it was being used, and that's how I interpreted it. I've updated the top post to include the function definition. Hope that helps.
dford General Coding Help 12 3,130 Jan-14-2022, 06:49 PM
    Thread: function with 'self' input parameter errors out with and without 'self' called
Post: RE: function with 'self' input parameter errors ou...

Thanks Yoriz. I've updated my original post to show the function from where it is being called.
dford General Coding Help 12 3,130 Jan-14-2022, 01:51 PM
    Thread: function with 'self' input parameter errors out with and without 'self' called
Post: function with 'self' input parameter errors out wi...

Hi, I've got something that just cropped up. This is not a tkinter question, though I'm using tkinter in the app. I've got some functions that are called from some tkinter objects, so I had to defi...
dford General Coding Help 12 3,130 Jan-14-2022, 01:06 PM
    Thread: Can't get tkinter database aware cascading comboboxes to update properly
Post: RE: Can't get tkinter database aware cascading com...

Sorry for any confusion I caused. I thought cascading combo boxes was a common phrase to describe the situation. Your interpretation of the question was correct. Thanks for your help.
dford GUI 6 3,651 Jan-11-2022, 08:22 PM
    Thread: Can't get tkinter database aware cascading comboboxes to update properly
Post: RE: Can't get tkinter database aware cascading com...

I'm trying this right now, based on something I saw in another discussion on this group, but don't know the syntax for that last line. It doesn't like just "row" in the append. The fetchall is retur...
dford GUI 6 3,651 Jan-11-2022, 05:22 PM
    Thread: Can't get tkinter database aware cascading comboboxes to update properly
Post: Can't get tkinter database aware cascading combobo...

I'm running into a tkinter situation that I cannot find a resolution for as of yet. I've got three database linked comboboxes that I would like to cascade. I've got them working somewhat, as in th...
dford GUI 6 3,651 Jan-11-2022, 02:27 PM
    Thread: Problems getting tk Combobox contents to populate properly
Post: RE: Problems getting tk Combobox contents to popul...

Ok, was able to meld this with my database code. Keys and values seem to be swapped, but I compensated and it is working visually. I get an error if I put them the way I thought they should go. Th...
dford GUI 4 3,828 Jan-08-2022, 02:39 PM
    Thread: Problems getting tk Combobox contents to populate properly
Post: RE: Problems getting tk Combobox contents to popul...

Thank you menator01. Will try to adapt it to what I have.
dford GUI 4 3,828 Jan-08-2022, 12:45 PM
    Thread: Problems getting tk Combobox contents to populate properly
Post: RE: Problems getting tk Combobox contents to popul...

I made some progress in getting things to populate by using fetchall() instead of a dataframe, but I'm still getting my key value concatenated to the text, whereas I'd like that hidden, but accessible...
dford GUI 4 3,828 Jan-08-2022, 08:28 AM
    Thread: Problems getting tk Combobox contents to populate properly
Post: Problems getting tk Combobox contents to populate ...

I could use some help with tkinter comboboxes, and populating the combobox from a database. First question is, will the combobox accept a dictionary like key/value structure? Like (1,"Task Example 1...
dford GUI 4 3,828 Jan-08-2022, 08:15 AM

User Panel Messages

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