in reply to Re: (ichimunki) Re: Clearing entry boxes in a GUI?
in thread Clearing entry boxes in a GUI?
Or better yet, instead of sub, use a reference to an actual subroutine so your button declaration isn't so messy and that way you can call the resulting sub from other places in the script if needed.-command => sub {$e1->delete(0,'end'); $e2->delete(0,'end'); ... $e5->delete(0,'end'); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (ichimunki) {Re} x 2: Clearing entry boxes in a GUI?
by ralfthewise (Sexton) on Jun 21, 2001 at 23:34 UTC | |
by ichimunki (Priest) on Jun 22, 2001 at 19:02 UTC |