mentby.com
Blog | Jobs | Help | Signup | Login

loading

destroy widget

Wed, 05 Sep 2012 07:13:39 -0700 Post Comments

You're looking for the ->withdraw()method.

# Hide main window
$mw1->withdraw();

# Sometime later in the app show main window again
$mw1->deiconify();
$mw1->raise();

----

Ron Bergin

Win32::Watir on strawberry Perl

Tue, 04 Sep 2012 09:45:44 -0700 Post Comments

There is a typo in that line of the module.

my $_ret = Win32::MSgBox($message,$mode,$title)

That line (1370) should be:
my $_ret = Win32::MsgBox($message,$mode,$title)

Ron Bergin
Profile Widget
Copy and paste this HTML code to your blog or website: