From: Ami Bar-Y. <am...@uf...> - 2001-10-13 04:00:40
|
> -----Original Message----- > From: per...@li... > [mailto:per...@li...]On Behalf Of > Johan Lindstrom > Sent: Friday, October 12, 2001 3:13 AM > To: per...@li... > 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} =3D 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 =3D new Win32::GUI::Window( -title =3D> "Win32::GUI::Textfield test", -left =3D> 100, -top =3D> 100, -width =3D> 300, -height =3D> 500, -name =3D> "Window", # -style =3D> WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU, ); $Window->{dialogui} =3D 1; $Window->Show(); ... -----cut----- I commented out the "use blib" line (??) at the top and added the dialogu= i at the bottom. I run the program, click on one of the check boxes, and press TAB. Nothi= ng happens, the focus does not move. Am I doing what you meant, or am I doing something wrong? Thanks, -- Ami Bar-Yadin (am...@uf...) > > > /J > > ------ ---- --- -- -- -- - - - - - > Johan Lindstr=F6m Boss Casinos > Sourcerer jo...@ba... > 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 > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users |