Re: [perl-win32-gui] Button -default option
From: Max Kozlov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 07, 1999 8:29 AM Subject: [perl-win32-gui] Button "-default" option Hello perl-win32-gui, is it works ? $W-AddButton( -name = "Simple", -left = 5, -top = 5, -text = "Click button", -default = 1 ); when i set '-default=1' then i get "default" shape of button, but when i press 'Enter' i don't get any event. why ? Best regards, Max mailto:[EMAIL PROTECTED] Max, Try adding this option also: -ok = 1, So you would have: $W-AddButton( -name = "Simple", -left = 5, -top = 5, -text = "Click button", -default = 1, -ok = 1, ); This should work, I think. ;] Jonathan Southwick[EMAIL PROTECTED] Technical Network Services 814-332-2755 Allegheny College Meadville, PA 16335 -- ***Everything is within walking distance if you've got the time *** - Original Message -
Re: [perl-win32-gui] Button -default option
Max Kozlov wrote: Hello perl-win32-gui, is it works ? $W-AddButton( -name = "Simple", -left = 5, -top = 5, -text = "Click button", -default = 1 ); when i set '-default=1' then i get "default" shape of button, but when i press 'Enter' i don't get any event. why ? the option you're looking for is: -ok = 1 bye, Aldo Calpini [EMAIL PROTECTED]
[perl-win32-gui] Anyone gotten Win32:GUI working with ActiveState build?
Hello, I haven't used Win32::GUI in a while, and I was wondering if anyone's built it to work with ActiveState Perl and what all it took. I'm currently using ActiveState Perl 5.005_03 build 515. Kelley Phillips [EMAIL PROTECTED] Programmer/Analyst, Info Tech, Inc.
Re: Re[2]: [perl-win32-gui] Button -default option
- Original Message - From: Max Kozlov [EMAIL PROTECTED] To: Aldo Calpini [EMAIL PROTECTED] Sent: Friday, May 07, 1999 9:49 AM Subject: Re[2]: [perl-win32-gui] Button "-default" option with -default, -ok and any of it's combinations i can't get Click() or DblClick() event... Best regards, Maxmailto:[EMAIL PROTECTED] Max, Could you show us some parts of your code? Could you include the code where you create the window, the code where you add the buttons, and the code where you test the buttons? Jonathan Southwick[EMAIL PROTECTED] Technical Network Services 814-332-2755 Allegheny College Meadville, PA 16335 -- ***Everything is within walking distance if you've got the time ***
Re: Re[4]: [perl-win32-gui] Button -default option
how can i make DialogBox instead Window ? i don't found it in docu. Change: $W = new Win32::GUI::Window( to: $W = new Win32::GUI::DialogBox( Indy -Original Message- From: Max Kozlov [EMAIL PROTECTED] To: Aldo Calpini [EMAIL PROTECTED] Date: Friday, May 07, 1999 12:15 PM Subject: Re[4]: [perl-win32-gui] Button "-default" option Hello Aldo, ïÿòíèöà, Ìàé 07, 1999, you wrote: AC sheesh... I forgot to add (once again) that: AC -ok AC -default AC -cancel AC -tabstop AC -group AC are ONLY valid inside a DialogBox, not inside a Window. how can i make DialogBox instead Window ? i don't found it in docu. may be it set in -style option ? then, i think, will be fine to get extended documentation about -style and within it description about above limitation. Best regards, Maxmailto:[EMAIL PROTECTED]
Re[4]: [perl-win32-gui] Button -default option
Hello Jonathan, ïÿòíèöà, Ìàé 07, 1999, you wrote: JS Could you show us some parts of your code? Could you include the code where JS you create the window, the code where you add the buttons, and the code JS where you test the buttons? here is all of my code :) --- use Win32::GUI; $W = new Win32::GUI::Window( -title= "Default Button test", -left = 100, -top = 100, -width= 360, -height = 260, -name = "Window", ); $Close = $W-AddButton( -name = "Close", -left = 250, -top = 200, -width = 100, -text = "Close", -default = 1, -ok = 1, ); $W-Show; Win32::GUI::Dialog(); sub Window_Terminate { return -1; } sub Close_Click { Window_Terminate(); } sub Close_DblClick { Window_Terminate(); } --- Best regards, Maxmailto:[EMAIL PROTECTED]
Re[4]: [perl-win32-gui] Button -default option
Hello Aldo, ïÿòíèöà, Ìàé 07, 1999, you wrote: AC sheesh... I forgot to add (once again) that: AC -ok AC -default AC -cancel AC -tabstop AC -group AC are ONLY valid inside a DialogBox, not inside a Window. how can i make DialogBox instead Window ? i don't found it in docu. may be it set in -style option ? then, i think, will be fine to get extended documentation about -style and within it description about above limitation. Best regards, Maxmailto:[EMAIL PROTECTED]
Re: [perl-win32-gui] Anyone gotten Win32:GUI working with ActiveState build?
Kelley, I am using the same version of ActiveState Perl, and Win32::GUI works fine. In my opinion, the best way to install it is to use PPM. Jenda has a site set up which will let you retreive it via PPM. http://jenda.krynicky.cz/ Tim Haakenson Kelley Phillips wrote: Hello, I haven't used Win32::GUI in a while, and I was wondering if anyone's built it to work with ActiveState Perl and what all it took. I'm currently using ActiveState Perl 5.005_03 build 515. Kelley Phillips [EMAIL PROTECTED] Programmer/Analyst, Info Tech, Inc.
Re: [perl-win32-gui] Anyone gotten Win32:GUI working with ActiveState build?
Hello, I haven't used Win32::GUI in a while, and I was wondering if anyone's built it to work with ActiveState Perl and what all it took. I'm currently using ActiveState Perl 5.005_03 build 515. Kelley Phillips [EMAIL PROTECTED] Programmer/Analyst, Info Tech, Inc. I didn't build it, I downloaded the binary's from somewhere ... I can't rememebr where though. I can look into if you'd like. I actually had to copy the files ionto the right directories because when I unzipped it ... they were put into a weird directory and it wouldn't work that way. I just mapped the "blip" directory where they were to the "Perl" directory and everything worked fine. If you have any more questions please let me know. Jonathan Southwick [EMAIL PROTECTED]Technical Network Services 814-332-2755Allegheny CollegeMeadville, PA 16335--***Everything is within walking distance if you've got the time ***
[perl-win32-gui] Button -default option
Hello perl-win32-gui, is it works ? $W-AddButton( -name = "Simple", -left = 5, -top = 5, -text = "Click button", -default = 1 ); when i set '-default=1' then i get "default" shape of button, but when i press 'Enter' i don't get any event. why ? Best regards, Max mailto:[EMAIL PROTECTED]