sub msgBox { my($demo) = @_; $TOP = $MW->WidgetDemo( -name => $demo, -text => 'Choose the icon and type option of the message box. '. 'Then press the "Message Box" button to see the message box.', -title => 'messageBox Demo', -iconname => 'messageBox', );