Python Forum
Display and update the label text which display the serial value
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display and update the label text which display the serial value
#6
this is wrong
label1 = StringVar(counter[0])
look at my previous post again.
definition of string variable needs to be:
name = StringVar()
to set value, use
name.set(value)
Reply


Messages In This Thread
RE: Display and update the label text which display the serial value - by Larz60+ - Feb-04-2019, 04:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Update label if there are no records in treeview TomasSanchexx 1 945 Aug-20-2023, 04:45 PM
Last Post: menator01
  [PyQt] PyQt5 window closing when trying to display a graph bianca 4 1,726 Aug-12-2023, 03:25 PM
Last Post: bianca
  [PyQt] [solved] How to display a pdf-file in a PyQt6 widget BigMan 13 16,219 May-06-2023, 09:27 AM
Last Post: Axel_Erfurt
  [Tkinter] Can't update label in new tk window, object has no attribute tompranks 3 3,562 Aug-30-2022, 08:44 AM
Last Post: tompranks
  [PyQt] [Solved]Display PyQtTable results from A->Z & Z->A Extra 2 1,173 Jul-18-2022, 04:04 PM
Last Post: Extra
  [PyQt] [Solved]Display Search Results in QTable Extra 5 2,472 Jun-29-2022, 10:20 PM
Last Post: Extra
  [Tkinter] The Text in the Label widget Tkinter cuts off the Long text in the view malmustafa 4 4,913 Jun-26-2022, 06:26 PM
Last Post: menator01
  [PyQt] Cannot Display Image after Selecting Image bintangkecil 4 2,590 Jun-12-2022, 08:18 AM
Last Post: Axel_Erfurt
  looking for scripts that do simple image display Skaperen 10 4,273 Sep-13-2021, 05:35 PM
Last Post: FullOfHelp
  [Tkinter] Make my button text update? Skata100 1 2,043 Aug-07-2021, 05:37 AM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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