Python Forum

Full Version: bind
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a listbox. I can bind keys, mouse clicks, etc. to fire a function. I have selection_set and activate set to 0, the first item in list.
My question is there a way to have the function to fire when the list is produced , so I can show/get the data from the first item that is set as default?

I hope I am clear on my goal. If not I will try to explain better. I can post all the code if that will help.
I found a solution. Added another function and just called it under the bind statement.