in reply to Re^2: Tk::DialogBox as the top window
in thread Tk::DialogBox as the top window
Usually, a
raises your window, but in the case of a dialog, you might need to do something like:$window->raise;
to schedule a callback to be executed after the dialog is shown. Untested :)$mw->after(50, sub {$dialog->raise}); $dialog->Show;
Also, if you don't need your MainWindow, why don't you withdraw it?
|
|---|