Do not use pos => [$x,$y], but instead use
top => $x,
left => $y,
For your example would be...
$cs = $main->AddCombobox(
-name => "cs",
-top => 80,
-left => $yval,
-tabstop => 1,
-width => 170,
-height => 130,
-style => WS_VISIBLE | 3 | WS_VSCROLL | WS_TABSTOP
);
Regards,
Eric
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, August 05, 2004 10:34 PM
To: [email protected]
Subject: Perl-Win32-GUI-Users digest, Vol 1 #901 - 1 msg
Send Perl-Win32-GUI-Users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Perl-Win32-GUI-Users digest..."
Today's Topics:
1. Listboxes and dropdowns (Mark Nettlingham)
--__--__--
Message: 1
Date: Thu, 5 Aug 2004 13:06:12 +0100 (BST)
From: Mark Nettlingham <[EMAIL PROTECTED]>
To: [email protected]
Subject: [perl-win32-gui-users] Listboxes and dropdowns
All,
Have recently upgraded to the latest version of Win32::GUI, and am
getting
a warning from the following:
$cs = $main->AddCombobox(
-name => "cs",
-pos => [ 80, $yval ],
-tabstop=>1,
-width => 170,
-height => 130,
-style => WS_VISIBLE | 3 | WS_VSCROLL |
WS_TABSTOP
);
Warning is:
Win32::GUI: the -style option is deprecated! at
C:/Perl/site/lib/Win32/GUI.pm line 610.
Which is fine, but I'm having no luck creating a single-selection
dropdown
without assigning a style. I should add that I have no idea what the
'style' bit does -- I found that snippet somewhere on the web.
It works fine, but I'm guessing it was deprecated for a reason - I just
hope it's been replaced with something!
Cheers,
Mark
--__--__--
_______________________________________________
Perl-Win32-GUI-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
End of Perl-Win32-GUI-Users Digest