Well Brian, TIMTOW :p
 
Not that every way is clean, neat and easily objectified (thought I
haven't looked into groupbox'ing myself ouside of Johan's GUI-Loft,
which I suggest you have a look at
[http://www.bahnhof.se/~johanl/perl/Loft/]) so I can't be perfectly sure
that such a way is currently in widespread use.
 
Jason P.

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Brian Fredette
Sent: Thursday, April 27, 2006 9:41 AM
To: perl-win32-gui-users@lists.sourceforge.net
Subject: Re: [perl-win32-gui-users] Adding controls to tab strip items.


Thanks again.
 
I was able to come up with something by simply creating the group box
with no text with the example I provided then positioning the radio
button on top.  This gives me what I need but it's probably not the best
way to accomplish it. 
 
Brian

 
On 4/27/06, Plum, Jason <[EMAIL PROTECTED]> wrote: 

        [off list]
        I'm a bit busy atm but will try to whip you up an answer asap,
if Jez or Rob doesnt get to it first.

________________________________

        
        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Brian Fredette
        
        Sent: Thursday, April 27, 2006 9:04 AM
        
        To: perl-win32-gui-users@lists.sourceforge.net 
        
        Subject: Re: [perl-win32-gui-users] Adding controls to tab strip
items.
        
         
        
        What I'm looking to create is a page similar to the tcp/ip
properties dialog which has 2 radio buttons.  The second button has a
group box around it wich when checked enables other controls.
         
        I was able to create the visual element by:
         
        my $btnStatic = $main_window->AddButton(
                -name => "btnStatic",
                -pos => [30,130],
                -text => "Use the following IP Address:",
                -pushstyle => WS_CHILD | WS_VISIBLE | 7,  # GroupBox 
        );
         
        This gives me the visual element but using -pushstyle with
AddRadioButton causes the radio button to disappear altogether.
         
        Brian
        
         
        On 4/27/06, Brian Fredette <[EMAIL PROTECTED] > wrote: 

                Hi Jason,
                 
                Thanks for the advice.  I was able to get things working
with this method.  Another unrelated question .... is there a package to
create a 3D type border around a control to visually group off some
controls.
                
                 
                Brian



Reply via email to