Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Dynamic checkbox treeview issue
Post: RE: Dynamic checkbox treeview issue

(Mar-16-2022, 09:47 PM)deanhystad Wrote: maybe this was a code comment instead of a method comment. But there should be a comment that describes what the method does. Comments describing blocks of c...
OogieM GUI 8 4,909 Mar-20-2022, 02:10 PM
    Thread: Building SQLite Query
Post: RE: Building SQLite Query

OK So the solution was to use a list. All I had to do was add the SQLite wildcards and append to the list. I did nothave to make it a tuple. Full code in how it works is in my tkinter checkbox treevi...
OogieM General Coding Help 10 2,941 Mar-16-2022, 11:59 AM
    Thread: Dynamic checkbox treeview issue
Post: RE: Dynamic checkbox treeview issue

I did get this working the way I wanted it to. Set up my empty lists self.checkbox_list = [] self.display_name_list = []First, to get the headers for each item that can be displayed I have code like...
OogieM GUI 8 4,909 Mar-16-2022, 11:42 AM
    Thread: Dynamic checkbox treeview issue
Post: RE: Dynamic checkbox treeview issue

(Mar-11-2022, 02:59 PM)deanhystad Wrote: Why a performance hit? Rows and columns are grid terms. Trees have branches. There are no rows, or columns, in a tree. A tree view DOES have rows and colu...
OogieM GUI 8 4,909 Mar-12-2022, 03:20 PM
    Thread: Building SQLite Query
Post: RE: Building SQLite Query

I wanted to thank everyoneon this thread for ideas and help. I've had to do farm tasks yesterday and again today and won't get back to programming until tomorrow but I'll incorporate lessons from here...
OogieM General Coding Help 10 2,941 Mar-12-2022, 02:28 PM
    Thread: Dynamic checkbox treeview issue
Post: RE: Dynamic checkbox treeview issue

(Mar-11-2022, 11:49 AM)Larz60+ Wrote: Quote:I can't figure out how to dynamically set up the number of columns when I create the treeview see: https://stackoverflow.com/a/64567297 I had seen that on...
OogieM GUI 8 4,909 Mar-11-2022, 01:32 PM
    Thread: Building SQLite Query
Post: RE: Building SQLite Query

(Mar-10-2022, 10:57 PM)deanhystad Wrote: Was this working and you broke it when features were added, or did it never work? The case of having cmdvariables has never worked. The case where there are ...
OogieM General Coding Help 10 2,941 Mar-11-2022, 02:03 AM
    Thread: Building SQLite Query
Post: Building SQLite Query

I am creating a query on the fly based on user inputs. I have separated my code into building the SELECT statements, the JOIN caluses and finally the WHERE clauses. To prevent SQL injection I am tryin...
OogieM General Coding Help 10 2,941 Mar-10-2022, 09:49 PM
    Thread: Dynamic checkbox treeview issue
Post: Dynamic checkbox treeview issue

I'm trying to use a checkbox treeview to display the results of an SQLite query. I build the query's SELECT, JOIN and WHERE clauses on the fly based on user inputs as to which columns to display and w...
OogieM GUI 8 4,909 Mar-10-2022, 09:14 PM
    Thread: [tkinter] not getting checkbutton value when clicked
Post: RE: [tkinter] not getting checkbutton value when c...

(Sep-20-2020, 02:24 PM)deanhystad Wrote: The reason result.val() is always False is because you create the BooleanVar and never bind it to a control. Thank you. Let me see if I understand. Since la...
OogieM GUI 5 6,059 Sep-20-2020, 04:05 PM
    Thread: [tkinter] not getting checkbutton value when clicked
Post: RE: [tkinter] not getting checkbutton value when c...

(Sep-20-2020, 02:47 AM)Larz60+ Wrote: I think you need to simplify your logic on paper, and then continue. I got lost after clicking on search in second window. The code doesn’t show what else happe...
OogieM GUI 5 6,059 Sep-20-2020, 01:17 PM
    Thread: [tkinter] not getting checkbutton value when clicked
Post: [tkinter] not getting checkbutton value when click...

I'm working on a larger program where I have a series of checkbuttons that will be used to determine which field to display in another frame in the window. I've got a button in one frame that is suppo...
OogieM GUI 5 6,059 Sep-19-2020, 09:05 PM
    Thread: Tutorial Requests
Post: RE: Tutorial Requests

(Sep-06-2020, 04:17 PM)Larz60+ Wrote: Classes work best with tkinter, one reason is the ample use of forward references, for example a button press event, since all methods become available when the...
OogieM Tutorial Requests and Submissions 60 285,355 Sep-07-2020, 08:37 PM
    Thread: Tutorial Requests
Post: RE: Tutorial Requests

I'd like to see a tutorial on how to apply OOP and classes to managing GUI applications using tkinter. Classes and objects make sense to me in terms of the standard examples (a Car class, etc.) Wher...
OogieM Tutorial Requests and Submissions 60 285,355 Sep-06-2020, 01:46 PM
    Thread: Buy a Zoom call with tkinter tutor?
Post: Buy a Zoom call with tkinter tutor?

I'm running into some issues with tkinter and trying to pull stuff out into classes succesfully. I am sure it's my own problem with translating how I would do the tasks in Java on Android vs how I ne...
OogieM Jobs 1 2,039 Aug-23-2020, 08:26 PM
    Thread: New Users Introduce Yourself
Post: RE: New Users Introduce Yourself

Also glad I found a forum. New to Python and working on a very large project to manage rare breed livestock flocks/herds, registrations and do population analyses. Coming from being the primary progra...
OogieM Bar 431 228,830 Aug-23-2020, 07:08 PM

User Panel Messages

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