Hi all,
im a beginner to programming Python with Tkinter.
I have a windows with 2 form: 1 Listbox and 1 Textarea that load a txt file.
The Listbox contains a name of chapters.
How can I make because click on the listbox scroll the text inside the textarea a the corresponding chapter?
Thanks to all
Hud
hudson5cp
0
Newbie Poster
Recommended Answers
Jump to PostHere is an example that should get most of the way there. All you need to do is to supply the search string from the listbox selection:
# searching a long text for a string and scrolling to it # use ctrl+c to copy, ctrl+x to cut …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.