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
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
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
[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
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
$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
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
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:
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