Re: Scrolling Tk Checkboxes

2007-01-17 Thread Lyndon Rickards
Jerry Kassebaum wrote: > Friends, > > How do I put a Scrollbar on the following? > > > > use Tk; > my $mw=new MainWindow; > $mw->geometry("200x400+400+10"); # Width X height + from left + from top > my $f = $mw->Scrolled("Frame")->pack(qw/-side left -expand yes -fill both/); > @outpu

Scrolling Tk Checkboxes

2007-01-17 Thread Jerry Kassebaum
Friends, How do I put a Scrollbar on the following? use Tk; my $mw=new MainWindow; $mw->geometry("200x400+400+10");# Width X height + from left + from top @output=("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l

Re[2]: Checkboxes

2004-01-27 Thread Sam Schinke
Hello Jim, Tuesday, January 27, 2004, 7:46:33 PM, you wrote: JH> $Bill Luebkert in <[EMAIL PROTECTED]>: >> Jim Hill wrote: >> >> > Flags=1414 >> > >> > Is there a module or a perl algorithm for determining which of >> > the 14 checkbox

Re: Checkboxes

2004-01-27 Thread Jonathan D Johnston
[Jim Hill wrote] [...] > Flags=1414 > > ... which is linked to a set of gui checkboxes - some, but not > all, of which are mutually exclusive. Checking each option in > turn and monitoring the .cfg file results in this table ... > >0 no flags set >1 subscr

Re: Checkboxes

2004-01-27 Thread $Bill Luebkert
Jim Hill wrote: > $Bill Luebkert in <[EMAIL PROTECTED]>: > >>Jim Hill wrote: >> >> >>>Flags=1414 >>> >>>Is there a module or a perl algorithm for determining which of >>>the 14 checkboxes are enabled from a "Flags=" valu

Re: Checkboxes

2004-01-27 Thread Jim Hill
$Bill Luebkert in <[EMAIL PROTECTED]>: > Jim Hill wrote: > > > Flags=1414 > > > > Is there a module or a perl algorithm for determining which of > > the 14 checkboxes are enabled from a "Flags=" value? > > I would just use a hash and for l

Re: Checkboxes

2004-01-27 Thread $Bill Luebkert
Jim Hill wrote: > Hi all > > The [subscribers] section in the .cfg file of my mailing list > manager gives a flag value for each subscriber ... > > Flags=1414 > > ... which is linked to a set of gui checkboxes - some, but not > all, of which are mutually exclusi

RE: Checkboxes

2004-01-27 Thread Messenger, Mark
Code: $bitstring=unpack(b16,$flags); print "Bitstring is $bitstring\n"; # 100011101100 for 1414 HTH :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jim Hill Sent: Tuesday, January 27, 2004 1:42 PM To: [EMAIL PROTECTED] Subject:

Checkboxes

2004-01-27 Thread Jim Hill
Hi all The [subscribers] section in the .cfg file of my mailing list manager gives a flag value for each subscriber ... Flags=1414 ... which is linked to a set of gui checkboxes - some, but not all, of which are mutually exclusive. Checking each option in turn and monitoring the .cfg file