[EMAIL PROTECTED] wrote:
> Actually, this does not seem to work. Is there a bug?
> It does work with -group => 1, -group => 2 as in my other post.

you're right, sorry :-)
however, you don't need 1 and 2. -group is a boolean flag, it 
just gets a true/false setting (2 in this case is true). 
so the correct way is:

    #First Group
    $W->AddRadioButton(-group => 1, ...);
    $W->AddRadioButton(...);
    $W->AddRadioButton(...);
 
    #Second Group
    $W->AddRadioButton(-group => 1, ...);
    $W->AddRadioButton(...);
    $W->AddRadioButton(...);

what happens here is that if you have more than one group,
every group start (including the first one!) must be explicitly
signaled, otherwise Windows does not understand them correctly.
 
cheers,
Aldo

__END__
# Aldo Calpini
%_ = split undef, join ' ', qw(fahokem 
xritajbugne csuctawer jhdtlrnpqloevkshpr
); print map $_{$_}, sort keys %_;




Reply via email to