> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Johan Lindstrom
> Sent: Friday, October 12, 2001 3:13 AM
> To: [email protected]
> Subject: Re: [perl-win32-gui-users] Getting TAB in a Window
>
>
> Ami wrote:
> >I don't know why TAB works in a Dialog but not in a Window.
>
> #Create window, then
> $winMain->{dialogui} = 1;
I assume $WInMain is the window I just created...?
I tried it with samples\textfield.pl:
---textfield.pl---
#use blib;
use Win32::GUI;
my $Window = new Win32::GUI::Window(
-title => "Win32::GUI::Textfield test",
-left => 100,
-top => 100,
-width => 300,
-height => 500,
-name => "Window",
# -style => WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU,
);
$Window->{dialogui} = 1;
$Window->Show();
...
-----cut-----
I commented out the "use blib" line (??) at the top and added the dialogui
at the bottom.
I run the program, click on one of the check boxes, and press TAB. Nothing
happens, the focus does not move.
Am I doing what you meant, or am I doing something wrong?
Thanks,
--
Ami Bar-Yadin ([EMAIL PROTECTED])
>
>
> /J
>
> ------ ---- --- -- -- -- - - - - -
> Johan Lindström Boss Casinos
> Sourcerer [EMAIL PROTECTED]
> http://www.bahnhof.se/~johanl/
> If the only tool you have is a hammer,
> everything tends to look
> like a nail
>
>
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users