Re: TK: button with multiple font sizes

2013-03-12 Thread Jack
se strict; my $mw = tkinit; my $bigfont = $mw->fontCreate('bigfont', -family=>'arial', -weight=>'bold', -size=>48); $mw->Button(-text=>'Big Text', -font=>'bigfont')->pack; $mw->Label(-text=>'Click on t

Re: Help with Win32::GUI

2012-09-07 Thread Jack
name: ". $userfield->Text(). " Password: ". $passfield->Text(); $resultLabel->Change(-text=>$string); } elsif ($key == VK_TAB) { $userfield ->SelectAll(); $userfield ->SetFocus(); } return 1; } #-

RE: Need help with TK: scrollable adjustable columns of text

2010-08-21 Thread Jack
dtext + adjustable columns. Dan Try Tk-MListBox Screenshot on Unix: http://cpansearch.perl.org/src/RCS/Tk-MListbox-1.11/docs/MListbox/tutorial.h tml On CPAN: http://search.cpan.org/dist/Tk-MListbox/ Jack ___ Perl-Win32-

RE: CPAN Problem in Debian

2010-03-11 Thread Jack
This is a Win-32 group. That said --- I would assume that you have to re-install all your modules from scratch. /usr/bin/perl -MCPAN -e shell (where perl leads to your 5.10 binary - not your 5.8.8) Better yet - find a good debian repository that houses dot-deb packages of all the perl modules

RE: I haven't seen any traffic on this list for two weeks

2009-12-31 Thread Jack
Maybe everybody bought a Mac for Xmas Jack -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of jeffg Sent: December-31-09 5:00 PM To: perl-win32-users@listserv.ActiveState.com Subject: Re: I

RE: Strange Perl/Tk action

2009-10-25 Thread Jack
e and manipulate menus - that I could not cover all the scenarios. In this method, I created the submenu before creating the "Edit" cascade. This will allow you to use the menu reference to adjust the entries as you see fit. There is "no flicker" with this code - so I will guess t

RE: Strange Perl/Tk action

2009-10-24 Thread Jack
It's hard to follow your description. Can you upload some sample code that shows the problem? "Shrinkage is always bad" ;) Jack From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On

RE: TK question

2009-09-20 Thread Jack
->Frame(-bg=>undef); $frame->place(-in=>$mw,-x=>0, -y=>0, -relwidth=>1.0, -relheight=>1.0); $frame->update;# Ensure frame is placed before calling getOpenFile.. $file = $mw->getOpenFile(); $frame->update;# Flush all events so the buttonrelease is consumed.

RE: Determining Vista Editions

2009-08-20 Thread Jack
in32::TieRegistry; $Registry->Delimiter("/"); my $edition = $Registry->{"LMachine/Software/Microsoft/"}-> {"Windows NT/CurrentVersion//EditionID"} or die "Can't find Edition ID: $^E\n"; print $edition; __END__ J

RE: Need help removing blinking cursor on a TK Scrolled

2009-08-15 Thread Jack
The cursor you are talking about is the "insert" cursor, which indeed is not need in a ROText. The other cursor you define in your options controls the look of the mouse. Use the standard Tk option of insertwidth to "hide" the insert cursor. ... -insertwidth => 0 Jack

RE: problem with Tk Frame not filling the whole frame.

2009-07-31 Thread Jack
, -expand => 1, -fill => 'both'); MainLoop; # Suggestion..it would be easier to help if you provided fully working programs that show the problem as opposed to code snippets (which had some typos). Jack From: perl-w

RE: What TK Method for hiding a widget?

2009-07-30 Thread Jack
If you used grid then ->gridForget etc. Jack From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of Daniel Burgaud Sent: July-30-09 4:29 PM To: Perl-Win32-Users Subject: What TK Method

RE: Q: How to resize TK window panels

2009-03-14 Thread Jack
$t2 = $pw->Scrolled('Text',-scrollbars=>'ose'); $pw->add($_) foreach ($t1,$t2); MainLoop; ### __END__ Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: A Perl::Tk question

2009-02-23 Thread Jack
re if you bind to say Button-Release, then the widget reference will be implicitly passed in the argument list. But method 1 or 2 should work for your needs. Jack -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestat

RE: Q on TK popups

2008-12-08 Thread Jack
$d->Subwidget('message'); $label->configure(-wraplength=>0); $d->Show; MainLoop; __END__ As for using a Balloon - I'm sure you could use the -postcommand or -motioncommand options to decide whether or not to display a balloon depending on the line number your mouse is over

RE: Q on TK Scrolled: how do scroll?

2008-12-07 Thread Jack
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Burgaud Sent: December-07-08 3:46 AM To: Jack Cc: Perl-Win32-Users Subject: Re: Q on TK Scrolled: how do scroll? Hi Jack, The scrollbed field is defined as: $frames{'name-r'} = $frames{'name'}->Scrol

RE: Q on TK Scrolled: how do scroll?

2008-12-06 Thread Jack
# I can likely help - but I really don't understand your question. What do you mean by "show the middle, bottom and top"? Perhaps you can post a small sample program that demonstrates your problem. Jack

RE: question on TK

2008-10-15 Thread Jack
gt;'Withdraw Me for 3 seconds', -command=>sub{ $top->withdraw; $top->after(3000,sub{ $top->deiconify; $top->raise; }); })->pack; push (@allTops, $top); } sub

RE: [OT] patch.exe on Vista is unusable.

2008-09-24 Thread Jack
that has already passed the password test. i.e. Right click on the command icon (mine is in the start menu) and choose "Run as Administrator". I'm not sure if this is what you are looking for? Jack ___ Perl-Win32-Users mailing list Perl-Win

RE: joystick gamepad input for perl?

2008-08-29 Thread Jack
way to obtain data from a USB >joystick/gamepad on a win 32 machine? I'm not a gamer but this looks interesting: http://aspn.activestate.com/ASPN/CodeDoc/Win32-MultiMedia/Joystick/Joystick. html Jack ___ Perl-Win32-Users mailing list Pe

RE: How to make the passwd invisible while I'm typing the passwd atMS-DOS prompt on Windows?

2008-01-28 Thread Jack
>Hi,   >The script bellow prompt user to enter login password. But, when I enter the passwd at prompt, it shows me the passwd I >typed. How to make the passwd invisible while I'm typing the passwd?   >  print "\nPlease Enter login passwd: "; >  chomp($passwd = ); perld

RE: Turn off the Progess bar

2007-10-18 Thread Jack D
$mw->after(500); } $text->insert('end', "Progressbar will delete in 5 seconds\n"); $text->update; $mw->after(5000,\&destroyPB); } sub destroyPB { $pb->destroy; $dialog->Show; $button->configure(-state=>'disabled'); } __END__ -- Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: control M's

2007-06-25 Thread Jack D
The problem likely occurs when you "upload" (assuming you meant ftp when you said that. Ensure you ftp the file in "ASCII" mode when going from windows to unix or vice versa. This will automatically remove any CR's. http://en.wikipedia.org/wiki/Newl

RE: Win32::Tie::Ini for Perl 5.8?

2007-05-14 Thread Jack D
t; I couldn't find the source on CPAN. Where is it ? With the > source, someone > might be able to build it for you. Ask Jean Louis Morel nicely at: [EMAIL PROTECTED] He is usually very receptive to building and adding Win32 modules to his repository at: http://www.bribes.org/perl

RE: localtime failing on DST change

2007-03-15 Thread Jack D
the same problem today at work on Debian. http://www.perlmonks.org/?node_id=251074 ..contains the answer that worked for us. Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: audio questions

2007-02-19 Thread Jack D
;start'); > $mci->play; > } > > sub stop > { > $mci->stop; > } > > __END__ > Actually - this sucks because the $mci object should not be overwritten on each button press. But with minor changes you can do what you need (i.e. you get the idea) Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: audio questions

2007-02-19 Thread Jack D
dia::Mci; my $mci; my $mw=tkinit; my $start = $mw->Button(-text=>'Start',-command=>\&start)->pack; my $stop = $mw->Button(-text=>'Stop',-command=>\&stop)->pack; MainLoop; sub start { my $midi = "/path/to/midi/file.

RE: Perl TK Graying out disabled menu items

2007-01-10 Thread Jack D
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary D Trosper Sent: Wednesday, January 10, 2007 9:20 PM To: Jack D Cc: 'Bill Luebkert'; perl-win32-users@listserv.ActiveState.com; [EMAIL PROTECTED]

RE: Perl TK Graying out disabled menu items

2007-01-10 Thread Jack D
Add this line to the code I previously sent: $menubar->entryconfigure(1,-state=>'disabled'); That should do it. Jack _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary D Trosper Sent: Wednesday, January 10, 2007 6:14 PM To: Bill Luebkert Cc:

RE: Perl TK Graying out disabled menu items

2007-01-10 Thread Jack D
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary D Trosper Sent: Wednesday, January 10, 2007 7:59 AM To: perl-win32-users@Listserv.ActiveState.com Subject: Perl TK Graying out disabled menu items Hi All,

Jack Roth is out of the office on company business returning 9/22

2006-09-19 Thread Jack Roth
I will be out of the office starting 09/19/2006 and will not return until 09/22/2006. Please contact Danny Null, Le Nguyen, or Don Sperling for assistance. The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, disseminati

Jack Roth is out of the office returning 7/10

2006-07-26 Thread Jack Roth
I will be out of the office starting 07/26/2006 and will not return until 08/07/2006. Please contact Danny Null or Le Nguyen for assistance. The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the info

RE: [perl-win32] RE: Win32::Printer - Multiple Line Output

2006-06-12 Thread Jack D.
New Roman', 10); $dc->Font($font); $dc->Color(0, 0, 0); my $v = 10; foreach my $line (@array) { $dc->Write($line, 10, $v); $v+=10; } $dc->Close; } } __END__ Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Win32::Printer - Multiple Line Output

2006-06-08 Thread Jack D.
PerlIO should supply it as needed. > Just use \n. That was the first one I tried :-). Timothy suggested in a private e-mail to use a PRN filehandle. I've never done that before. Any simple examples of just printing plain text data to a printer? > > At 03:55 PM 6/8/2006 -06

RE: Win32::Printer - Multiple Line Output

2006-06-08 Thread Jack D.
> -Original Message- > From: Timothy Johnson [mailto:[EMAIL PROTECTED] > Sent: June 8, 2006 4:31 PM > To: Jack D.; perl-win32-users@listserv.ActiveState.com > Subject: RE: Win32::Printer - Multiple Line Output > > > Maybe try /r/f instead of /r/n? > I

Win32::Printer - Multiple Line Output

2006-06-08 Thread Jack D.
my $textToPrint = join("\r\n",@array); my $font = $dc->Font('Times New Roman', 12); $dc->Font($font); $dc->Color(0, 0, 0); $dc->Write($textToPrint, 10, 10); $dc->Close; } } __END__ Jack ___

RE: Program with popup won't exit

2006-05-25 Thread Jack D.
ays end my Tk programs using $mw->destroy. This way you can run the code after the MainLoop if needed. It also avoids namespace problems. Tk::exit vs. CORE::exit. Jack PS. I couldn't find the original message on this thread. Is this still the "in your face" notice that you want

RE: variable issue when creating muliple Label/Entry on the fly in Tk

2006-05-25 Thread Jack D.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Paul > Sent: May 25, 2006 3:25 PM > To: Perl-Win32-Users@listserv.ActiveState.com > Subject: variable issue when creating muliple Label/Entry on > the fly in Tk > > Hi All, > > My sample program

RE: A system modal dialog box?

2006-05-19 Thread Jack D.
om his book: http://www.ercb.com/feature/feature.0005.html A site from Googling which has similar reaction to dialogs: http://www.seebs.net/ops/ibm/cranky12.html -- Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: stop a Windows application from within a Perl script

2006-04-17 Thread Jack D.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dan Jablonsky > Sent: April 17, 2006 8:00 PM > To: perl-win32-users@listserv.ActiveState.com > Subject: stop a Windows application from within a Perl script > > Hi all, > I have a very simple script

Jack Roth is out of the office in training, returning 2/27

2006-02-20 Thread Jack Roth
I will be out of the office starting 02/20/2005 and will not return until 02/27/2006. The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If

RE: Does a Perl module already exist for this?

2006-02-14 Thread Jack D.
gestions? Perhaps: http://search.cpan.org/~brianl/Statistics-Lite-1.03/Lite.pm ..might suit your needs. Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Jack Roth is out of the office, returning 11/21

2005-12-25 Thread Jack Roth
I will be out of the office starting 12/23/2005 and will not return until 01/03/2006. The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If

RE: Calling parent's method

2005-12-19 Thread Jack D.
widget but to the Tk::Frame housing the TextUndo and the scrollbars (i.e. that is what the "Scrolled" method returns). To get the reference to the TextUndo widget: $real_text_undo = $text_undo->Subwidget('scrolled'); Now the following should work: $real_text_undo->

RE: :Text::ReplaceSelectionsWith()

2005-12-19 Thread Jack D.
Why is that if I make > > $text->selectAll; > $text->ReplaceSelectionsWith("nah\nbah\nvah"); > > I only get: > bah > vah > > as a result (ActivePerl 5.8.7.813)? Hmm? Not sure - but put another \n before nah and it works fine. It likely has to do with the &#

RE: :Text::FindAndReplaceAll()

2005-12-19 Thread Jack D.
Here is a reply received from Slaven Rezic on the ptk mailing list: "Jack D." <[EMAIL PROTECTED]> writes: > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf > > Of ? > > Sent: D

RE: :Text::FindAndReplaceAll()

2005-12-16 Thread Jack D.
s there a bug in Tk (ActivePerl > 5.8.7.813)? Seems like a bug in the FindNext subroutine of Tk::Text. Basically using (.) or (.*) doesn't seem to work properly. i.e. the program gets stuck in a while loop because the $saved_insert never matches the $compared_index in the source code. I

RE: Problem (bug?) in Perl/Tk

2005-12-07 Thread Jack D.
gb->Tiler (-columns => 2, -rows => 1); > $t1a = $t1->Message (-justify => "right", -text => "Enter > Value", -width => > 100); > $t1b = $t1->Entry (-textvariable => \$val); > $t1b->get; > $t1->Man

RE: Multiple bindings in Tk

2005-11-27 Thread Jack D.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of ? > Sent: November 25, 2005 7:23 AM > To: perl-win32-users@listserv.ActiveState.com > Subject: Multiple bindings in Tk > > Hello, perl Users. > > I've been playing with Tk and encoun

Jack Roth is out of the office, returning 11/21

2005-11-17 Thread Jack Roth
I will be out of the office starting 11/17/2005 and will not return until 11/21/2005. The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If

RE: on weird perl/tk behavior in new version of perl

2005-11-14 Thread Jack D.
ls appearing not in cursor position > but in end of line ! > as a consequence > All my perl/tk modules in NEW > perl are not working! > and here is my question : > why it is so and howto > remedy it (short of ditching new version of perl ) ? > thanks in advance.

NET::FTP::RECURSIVE question on Win32

2005-09-02 Thread Jack Lail
al filedirectory to a remote server, I'd appreciate it.The only ohter thing I haven't tackled is that I really only want tosend files that end in "*.jpg" ... the folder should only havethose, but it would be a nice filter.-- jack lail ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Trap window close

2005-08-25 Thread Jack D.
ode? > I posted some code such as this a couple of years back. It got reposted on this list .. http://aspn.activestate.com/ASPN/Mail/Message/1467974 You will have to obviously edit it for your needs - but it shows that it is possible to do. Jack ___

Jack Roth/Inv/MetLife/US is out of the office.

2005-07-28 Thread Jack Roth
I will be out of the office starting 07/28/2005 and will not return until 08/03/2005. Please call Don Sperling at 678-319-2668 or 678-428-1108 The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the info

Jack Roth/Inv/MetLife/US is out of the office.

2005-06-09 Thread Jack Roth
I will be out of the office starting 06/09/2005 and will not return until 06/22/2005. Please call Don Sperling at 678-319-2668 or 678-428-1108 The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the info

RE: TK Question

2005-06-03 Thread Jack D
From: Jim Hansen <[EMAIL PROTECTED]> To: perl-win32-users@listserv.ActiveState.com Subject: TK Question Date: Thu, 2 Jun 2005 06:56:51 -0700 (PDT) I've been able to finally get TK:Statusbar to work, but still not sure how to get rid of the buttons. I would like this to automatically launch th

RE: drag'n'drop onto desktop icon ???

2005-05-30 Thread Jack D.
> -Original Message- > From: Jack D. [mailto:[EMAIL PROTECTED] > Sent: May 30, 2005 11:57 PM > To: 'perl-win32-users mailing list' > Subject: RE: drag'n'drop onto desktop icon ??? > > > > > -Original Message- > > Fro

RE: drag'n'drop onto desktop icon ???

2005-05-30 Thread Jack D.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Glenn Linderman > Sent: May 30, 2005 3:08 PM > To: Ken Cornetet > Cc: perl-win32-users mailing list; Michael D Schleif > Subject: Re: drag'n'drop onto desktop icon ??? [snip] > Jack's solution m

RE: Win32::OLE Can you call ShowOpen Method

2005-05-23 Thread Jack D.
Dlg->ShowPrinter; > > $CommDlg->AboutBox; It looks like OLE wants a few properties to be defined first. Defining only MaxFileSize did it for me - but I would also add the filters you want too. $CommDlg->{MaxFileSize} = 400; $CommDlg->{Filter} = "All(*.*)|\*.\*"; $C

RE: drag'n'drop onto desktop icon ???

2005-05-23 Thread Jack D.
ry->{"HKEY_CLASSES_ROOT/Perl/"}; $perlKey->{"shellex/"} = { "DropHandler/" => { "/"=>"{86C86720-42A0-1069-A2E8-08002B30309D}" }}; ### Once that is done - any icon with the .pl extensi

Custom Properties [was RE: Changing file date info]

2005-05-18 Thread Jack D.
"Changing \'Last Backup\' to 2\n"; $custominfo->{'Last Backup'} = 2; $dso->Save(); # Finally - get your new value $result = $dso->CustomProperties->Item('Last Backup'); print "New \'Last Backup\' value is : ",$result->Value,"\n"; ### Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Jack Roth/Inv/MetLife/US is in training and out of the office.

2005-04-12 Thread Jack Roth
I will be out of the office starting 04/11/2005 and will not return until 04/15/2005. If you need assistance for Mainframe call Don Sperling or Danny Null. For Distributed, call Don Sperling or Prabu Doraisingam The information contained in this message may be CONFIDENTIAL and is for the inte

RE: No title bar?

2005-03-23 Thread Jack D.
a title bar in Tk? > > If not Tk, then maybe Win32::GUI or wxPerl? In Tk: $top->overrideredirect(1); See docs for Tk::Wm Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Changing summary information using DSOFile DLL [was RE: adding a title to a file on windows]

2005-03-14 Thread Jack D.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of $Bill Luebkert > Sent: March 14, 2005 4:04 AM > To: Jack D. > Cc: Perl-Win32-Users@listserv.ActiveState.com > Subject: Re: Changing summary information using DSOFile

RE: Changing summary information using DSOFile DLL [was RE: adding atitle to a file on windows]

2005-03-12 Thread Jack D.
Oops. My mailer somehow unwrapped the lines of the script. You get the idea though. BTW - If someone can figure out how to open up the summary information for a file with *no* summary information - then please post an example. Jack > -Original Message- > From: [EMAIL PRO

Changing summary information using DSOFile DLL [was RE: adding a title to a file on windows]

2005-03-12 Thread Jack D.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of $Bill Luebkert > Sent: March 11, 2005 6:44 PM > To: Perl-Win32-Users@listserv.ActiveState.com > Subject: Re: adding a title to a file on windows > >

RE: adding a title to a file on windows

2005-03-11 Thread Jack D.
.perl.org/~empi/ I tried it but cannot seem to get a proper object? Anyways - all the API calls are there if you want to try and code it yourself. You might be better off going through all the dialogs - you likely could do it in a shorter timespan :-) Jack ___

RE: perl tk binding question

2005-03-11 Thread Jack D.
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Swartwood, Larry H > Sent: March 11, 2005 10:22 AM > To: [EMAIL PROTECTED]; perl-win32-users@listserv.ActiveState.com > Subject: RE: perl tk binding question > > > I'm not sure why but when I cha

Jack Roth/Inv/MetLife/US is in training and out of the office.

2005-02-15 Thread Jack Roth
I will be out of the office starting 02/14/2005 and will not return until 02/21/2005. For Mainframe call Don Sperling or Danny Null. For Distributed, call Don Sperling or Prabu Doraisingam The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. A

RE: Sleep()

2005-01-14 Thread Jack D.
ng v5.8 on win2k. How come no one has mentioned select? Is it platform dependent? It works on XP Home.. select(undef, undef, undef, 0.1); #100ms Jack ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Jack Roth/Inv/MetLife/US is out of the office.

2004-12-19 Thread Jack Roth
I will be out of the office starting 12/17/2004 and will not return until 12/27/2004. For Mainframe call Don Sperling or Danny Null. For Distributed, call Don Sperling or Prabu Doraisingam The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. An

RE: TK - Tablematrix Problems

2004-11-23 Thread Jack D.
rix - is that while they all state the perl version, none of them (that I know of) offer you the selection of choosing based on perl *AND* Tk version. What is your perl version? Tk version? What site did you get the ppd from? After I compiled from scratch it works fine. I use AS build 809, perl 5.8.3, Tk804.027. Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE:Tk::Table cusom keys scrolll question

2004-11-22 Thread Jack D.
e')->pack(-expand=>1, -fill=>'both'); foreach my $row (0..50) { foreach my $col (0..20) { $entry[$row][$col] = $pane->Entry( -text=>"Row $row Col $col") ->grid(-row=>$row, -column=>$col); } } MainLoop; __END__ perldoc Tk::grid

RE: :Table cusom keys scrolll question

2004-11-20 Thread Jack D.
rk if you set -takefocus=>1 > I want , for example, after key > go to the next cell/next col in the row or 1-st col in the > next row if on the last col/ Snippets are welcome especially ! Typically a moves you to the next widget and a moves you backwards. Try it out - but aga

perl-win32-users@listserv.activestate.com

2004-06-11 Thread Jack D.
on CPAN called Tk::NumEntry - if you don't want to upgrade then you can try that instead. Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Need more help with Tk

2004-06-09 Thread Jack D.
ars > Is this a trick question :-) ? use Tk; my $mw=tkinit; $mw->Scrolled('Text',-scrollbars=>'se',-width=>30, -height=>3)->pack; MainLoop; Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Tk Popup centering and minsize.

2004-06-01 Thread Jack D.
eqheight); my ($minwidth,$minheight) = $w->minsize; #JD# $mw = $minwidth if (defined $minwidth and $minwidth > $mw); #JD# $mh = $minheight if (defined $minheight and $minheight >$mh); #JD# my ($rx,$ry,$rw,$rh) = (0,0,0,0); While playing/testing I saw another weird behaviour. Tk allows y

RE: Perl Tk

2004-05-26 Thread Jack D.
'groove', -width => > 20); >$t->windowCreate('end', -window => $w); > %info; >$w = $t->Entry(-width => 20, -textvariable => \$info{$_}); >$t->windowCreate('end', -window => $w); >$t->insert('end', "\n"); > } > #$t->configure(-state => 'disabled'); # disallows user typing > sub print_rec() { >@key = keys %info; >foreach $_ (@key) { > print "$_:$info{$_}\n"; >} $t->Save("C:/save.txt"); > } > > MainLoop; > Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Jack Roth/Inv/MetLife/US is out of the office.

2003-11-26 Thread Jack Roth
I will be out of the office starting 11/26/2003 and will not return until 12/01/2003. For eservices, R&S, and investments portal, please call pete difondi. For genam, please call Rick Higginbotham. For all other projects, please call Don Sperling. Thanks. The information contained in this mess

Re: PerlTk application window disappearing on WinXP

2003-10-24 Thread Jack
taskbar disappear, which is against the logic of the > program. The process of application A remains in the task > manager and seems to continue to work. > > I use Perl 5.6.1 build 635 and Tk 800.024 > > Any help will be appreciated. Give us something to work

Keysyms [was] Overiding default bindings in PerlTk

2003-10-06 Thread Jack
w->Label(-textvariable=>\$keysym)->pack(); $keysym="Press Any Key"; $mw->focusForce; $mw->bind('',\&get); $mw->bind('', sub {print "You pressed the Enter key !!\n"}); MainLoop; sub get { my $e=$mw->XEvent; $keysym= "Keysym is&

Re: Spreadsheet-like data entry/editing in PerlTk?

2003-09-30 Thread Jack
late it with you cannot > > enter data or edit data. > > > > Thanks, > > > > Dax > > > http://www.cpan.org/modules/by-module/Tk/ > > Look for Tk-TableMatrix. Also available on ppm from AS. > > -Lynn. Corre

Re: Controls for Perl?

2003-09-19 Thread Jack
ppear for their choices/selection? Or do >I have to do it through a web browser page like I used to? use Tk; Jack PS. I'm assuming that you want a stand-alone perl program i.e. not web-based. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To

Re: Memory leaks

2003-06-19 Thread Jack
d('myTag', '',[\&printit,"Here"]); sub printit { print "$_[1]\n"; } ### End quote ### So, my suggestion is to wrap your sub{} in square brackets...to become $c->bind('tag','',[sub{blah}]); Jack PS.. Another note..you seem to be sl

Re: Win32::OLE and Excel, Word, Access etc.

2003-01-07 Thread Jack
- Original Message - From: "Carl Jolley" <[EMAIL PROTECTED]> To: "Jack" <[EMAIL PROTECTED]> Cc: "Perl-Win32-Users" <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 3:02 PM Subject: Re: Win32::OLE and Excel, Word, Access etc. > On Mon,

Win32::OLE and Excel, Word, Access etc.

2003-01-06 Thread Jack
rts} = 0; $book -> SaveAs ("$pwd\\spreadsheet.xls"); Where would one find out what the DisplayAlerts variable is? Where is SaveAs documented? Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveS

Re: Win32:FileOp::OpenDialog

2002-12-19 Thread Jack
- Original Message - From: "James Hooker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 1:37 PM Subject: Win32:FileOp::OpenDialog > > > I am using Win32:FileOp::OpenDialog and get footprints over my main Tk > > window when I drag this dialog over the mai

Re: Justifying text in a Tk label?

2002-11-25 Thread Jack
qq/This is a 'nw' anchored...left justified label. Try resizing!/, -anchor=>'nw', #anchor text to nw within widget -justify=>'left'); $label->pack(-anchor=>'nw'); #anchor widget to nw within main MainLoop;

Re: Subject Line

2002-11-25 Thread Jack
is better than > windows and vice versa" ;) "Linux 'is' better than windows" :-) ...seriously, case-closed. My email is getting filtered properly, and I really do appreciate not having such a long and (shall we say) repetitive subject line. Jack __

Re: [Perl-Win32-Users]Subject Line

2002-11-22 Thread Jack
- Original Message - From: "Stovall, Adrian M." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 3:30 PM Subject: RE: [Perl-Win32-Users]Subject Line >Is it really any harder than filtering on "perl-win32-users" in the >"To:" field? Yes. The 'To:' field may cont

Re: [Perl-Win32-Users]Tk Greyed out?

2002-11-22 Thread Jack
x27; way to do this is set the -disabledforeground (as defined in Tk::options. However, I get error messages if I try this, hence I have commented this line out and gone the configure->(-bg) route. Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

[Perl-Win32-Users]Subject Line

2002-11-22 Thread Jack
izard? Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: Re[2]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jack
- Original Message - From: "Jan Dubois" <[EMAIL PROTECTED]> To: "Jack" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 1:26 PM Subject: Re: Re[2]: Release of ActivePerl 5.8.0 - released today > I haven't followed

Re: Re[2]: Release of ActivePerl 5.8.0 - released today

2002-11-11 Thread Jack
is a victim of this ? > > No, it is not. Tk is already included in ActivePerl 802, so there is no > need to install it from the repository. Before I download and install - can you tell me which version of Tk this is? I assume 800.024 - or have you built the al

Re: TK - destroy window.

2002-11-08 Thread Jack
. Reading the 'BUGS' portion of the Tk::Error docs - having a MainWindow here might be your problem. > $running_win->configure(-title=>"$title - Running..."); > $running_win->geometry ("+500+500"); > $running_win->minsize (qw(300 50)); > $running_win->Label(-text=> "\nRunning, please wait.\n\n")->pack (); > $window->update; > &get_values; > &FTP_all; > $running_win->destroy; > } Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: How can I timeout a MsgBox?

2002-05-18 Thread Jack
s anyone have any clues? Tk can do this quite easily - but I'm not sure if that is what you want? I can provide sample code if necessary. Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Win32::API - FlashWindow

2002-05-03 Thread Jack
work on 98? 2000? etc.   Jack use Tk;use Win32::API;use strict;   my $mw=tkinit;   #Sometimes the window handle can be different. #Let's make sure it is the same using the two #known Tk methods. my $ID=oct($mw->id);my $WinID=hex($mw->frame);print "Yep. Wi

Re: Tk's messagebox

2002-04-24 Thread Jack
27;How about this..', -type=>'YesNo'); print "You answered $answer\n"; __END__ #No mainloop because you only wanted the message..right? ## Jack -- use Tk;$/=$]<<$]+1;$"=tkinit->Canvas(-wi,$/,-he,$/)->form;map{map{create$"

Printing to file

2002-04-24 Thread jack martin
Hi All I'm fairly new to PERL. I am writing a script that has opens a file that has two sets of values for which I need to check for duplicate values , print only a unique value to another file. I'm running into a problem that is reproducible in the script below also and seems to do with Filehandl

Re: help with pack options

2002-04-12 Thread Jack
$can = $b->Button(-text => "Cancel", -command => sub {print "Cancelled\n"; exit(0);}, -relief => "raised", -width => 10, )->pack(-side => "left", -padx => "5", -pady => "5"); $top->bind('', sub {print "Hit Esc\n"; exit(0);}); $top->bind('', sub {$OK_button->invoke}); $b->pack(-side => "bottom", -padx => "5", -pady => "5"); $srv_box->focus; MainLoop; # __END__ Jack ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

  1   2   >