Aldo,

I'm not sure what -text     => ('Please provide the following information', 2),
means.    Another developer started writing the script and I "inherited" his
work.      I will look that up and get back to you.

Felice




"Aldo Calpini" <[EMAIL PROTECTED]> on 07/28/99 03:44:13 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Felice Vittoria/Aut/Schneider)
Subject:  Re: [perl-win32-gui] problem with list box #2




[EMAIL PROTECTED] wrote:
>    $Main1 = new Win32::GUI::Window(
>          -name     => "MainWindow",
>          -left     => 100,
>          -top => 100,
>          -width    => 300,
>          -height => 200,
>          -text     => ('Please provide the following information', 2),
>          -style    => WS_BORDER | WS_CAPTION,
>     );

I beg your pardon, but what is:

    -text     => ('Please provide the following information', 2),

supposed to mean?

it is an error, that actually prevents Win32::GUI to interpret your
-style option; your code is seen as:

    # OPTION   VALUE
    -height,   200,
    -text,     'Please provide ... information',
    2,         -style,
    WS_BORDER | WS_CAPTION,

of course, 2 is not a valid option, neither WS_BORDER|WS_CAPTION, so
they're simply ignored.

tell us what did you intend with your code, if it's a missing feature
we can manage to add it ;-)

__END__
# Aldo Calpini
print sort {$_{$a} cmp $_{$b}} values %{{split undef,
"xritajbugne fahokem csuctawer jhdtlrnpqloevkshpr"}};










Reply via email to