|
From: Jonathan S. <jso...@al...> - 2001-01-12 14:39:45
|
Sean,
Try this little program and then incorporate it into your own:
use Win32::GUI;
my $MainWindow = new Win32::GUI::Window(
-name => "FruitWindow",
-top => 200,
-left => 100,
-width => 300,
-height => 200,
-minsize=> [300,200],
-title => "Fruit Box",
);
my $FruitList = $MainWindow->AddListbox(
-name => "FruitListBox",
-top => 52,
-left => 98,
-width => 125,
-height => 110,
);
$FruitList->InsertItem("Apple");
$FruitList->InsertItem("Banana");
$FruitList->InsertItem("Grapes");
$FruitList->InsertItem("Kiwi");
$FruitList->InsertItem("Lemon");
$FruitList->InsertItem("Strawberry");
$MainWindow->Show();
Win32::GUI::Dialog();
sub FruitListBox_DblClick {
print "got double click\n";
}
sub FruitWindow_Terminate {
exit(0);
}
Jonathan Southwick
Technical & Network Services
Allegheny College, Meadsville, PA
jso...@al...
----- Original Message -----
From: "Sean Healy" <jal...@ho...>
To: <per...@li...>
Sent: Thursday, January 11, 2001 7:38 PM
Subject: [perl-win32-gui-users] double click in listbox
> I can't get my listbox to register a double click. I looked this up on
the
> old archives, and found references to the problem, but no solution. Has
> anyone managed to get this to work?
>
> I'm using 0.0502 on Win95.
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Per...@li...
> http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>
|