🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

remove entries in the gui

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

hi all,

every time when i run the same script for the second,third... times ,the previous entries are displayed by default as highlighted in the below snapshot.i want to clear these entries each time i run .

Capture.PNG.d0a566f1b778f3813e2a9dfda809fa21.PNG

 

thanks in advance 

 

regards,

JAMIE

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    You can clear highlight in a tk entry widget with pathName selection clear. If you want to clear text in an entry widget, use pathName delete 0 end.

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    You can clear highlight in a tk entry widget with pathName selection clear. If you want to clear text in an entry widget, use pathName delete 0 end.

    HEY akitoguc 

     its not working....

    User: "tinh"
    Altair Community Member
    Updated by tinh

    when you created the entry widget, i am sure that you give it a -textvariable option,

    example 

    entry .entOutputPath -textvariable varOutputPath

    then you can clear it by

    set ::varOutputPath ''