0

guys, im after a piece of code that when embedded into a button, clears the text entry boxes of the GUI so new information may be added. Like adding a new customer after you press save.
At the moment you press save but the information stays there

cheers.

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by vegaseat
0

Maybe you are looking for this ...

def del_text():
    """
    delete text in enter1 from index first to index last
    if index last is omitted delete just one character at index first
    entry1.delete(first, last=None)
    """
    enter1.delete(0, END)  # del all text
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.