|
From: Jonathan S. <jso...@al...> - 2001-01-23 19:10:27
|
Eric,
Add the following to your code:
$HostName ->Select(0);
Jonathan Southwick
Technical & Network Services
Allegheny College, Meadsville, PA
jso...@al...
----- Original Message -----
From: "Erick J. Bourgeois" <er...@e-...>
To: <per...@li...>
Sent: Tuesday, January 23, 2001 1:44 PM
Subject: [perl-win32-gui-users] Combobox
> Why is it that in the following Combobox:
>
> $HostName = $MainWin->AddCombobox(
> -name => "HostName",
> -tabstop => 1,
> -style => WS_VISIBLE | 2 | WS_NOTIFY,
> -left => 205,
> -top => 10,
> -width => 110,
> -height => 160,
> );
> $HostName->InsertItem ("ftp.server1.com");
> $HostName->InsertItem ("ftp.server2.com");
>
> The first item is not showing right away, I have to drop the
> combobox first. I also tried -text=>"ftp.server1.com"
>
> erick
>
> never stop questioning
> www.jeb.ca
>
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Per...@li...
> http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>
|