Do you known why this don't work : $allimp = $winimpsrv->AddListbox( -name => "allimp", -left => 1, -top => 1, -text => '', -width => 490, -height => 350, -multiline =>1, -style =>WS_VSCROLL, );
foreach $ligne (@lstimp) { $allimp->AddString("$ligne"); } Nahum Marc, ----- Original Message ----- From: "Erick J. Bourgeois" <[EMAIL PROTECTED]> To: <perl-win32-gui-users@lists.sourceforge.net> Sent: Saturday, March 03, 2001 9:17 PM Subject: Re: [perl-win32-gui-users] perl-win32-gui-users > Use either/both WS_HSCROLL | WS_VSCROLL in your style option. > > erick > never stop questioning > www.jeb.ca > ----- Original Message ----- > From: Peopleclick Customer Support <[EMAIL PROTECTED]> > To: <perl-win32-gui-users@lists.sourceforge.net> > Sent: Friday, March 02, 2001 6:33 PM > Subject: [perl-win32-gui-users] perl-win32-gui-users > > > I have a combo box such as below. How do I get a scroll bar along the > left or right side. Is this functionality supported? If so, does the > same method work for List boxes. Part of the problem, is that I mostly > copied these directly from the examples and don't know what the various > style settings are since my documentation doesn't detail this option. > > Thanks in advance for any insight. > > I am on NT 4.0 SP6a > > c:\>perl -MWin32::GUI -e "print qq{$Win32::GUI::VERSION\n};" > 0.0.434 > > c:\>perl -v > > This is perl, version 5.005_03 built for MSWin32-x86-object > (with 1 registered patch, see perl -V for more detail) > > Copyright 1987-1999, Larry Wall > > Binary build 522 provided by ActiveState Tool Corp. > http://www.ActiveState.com > Built 09:52:28 Nov 2 1999 > > $CBdropdown = $Window->AddCombobox( > -name => "Dropdown", > -left => 10, > -top => 25, > -width => 180, > -height => 400, > -scroll => 1, > -style => WS_VISIBLE | 2 | WS_NOTIFY, > ); > > Joe Frazier, Jr > Technical Support Engineer > Peopleclick.com > 800-841-2365 > [EMAIL PROTECTED] > > > > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > > > _______________________________________________ > Perl-Win32-GUI-Users mailing list > Perl-Win32-GUI-Users@lists.sourceforge.net > http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users >