in reply to pl/tk dialog box issue
my $dialog = $mw->DialogBox (-title => "Delete", -buttons => ["Yes", " +No"]); $dialog->Label (-text => "Are You Sure you Want to Save?")->pack (-sid +e => 'left'); my $result = $dialog->Show; return 0 if $result eq "No"; save() and exit if $result eq "Yes"; exit;
jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.
|
|---|