Python Forum
How can I reset my Label?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I reset my Label?
#5
(Mar-10-2020, 10:28 AM)Larz60+ Wrote: widget with name of your Label
newtext = 'MyNew text'
widget.config(text=f"{Newtext}")

Thanks Larz! I have in my code a scrollbar and tk.canvas. Is there a way to erase/clear this field?

Jacques J.
Reply


Messages In This Thread
How can I reset my Label? - by JJota - Mar-10-2020, 04:44 AM
RE: How can I reset my Label? - by Larz60+ - Mar-10-2020, 05:27 AM
RE: How can I reset my Label? - by JJota - Mar-10-2020, 06:07 AM
RE: How can I reset my Label? - by Larz60+ - Mar-10-2020, 10:28 AM
RE: How can I reset my Label? - by JJota - Mar-10-2020, 09:44 PM
RE: How can I reset my Label? - by JJota - Mar-11-2020, 04:40 PM

Forum Jump:

User Panel Messages

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