Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Win32::GUI;
    ...
    
    $mw->Show();
    Win32::GUI::Dialog();
    
  2. or download this
    my $label2 = $mw->AddLabel( -text => "hello2", -left => 30);
    
  3. or download this
    my $label2 = $mw->AddLabel( -text => "hello2", -top => 15);
    
  4. or download this
    my $label2 = $mw->AddLabel( 
       -text => "hello2", 
    ...
    my $label2 = $mw->AddLabel(
       -text => "hello2",
       -top => ($label1->Height + 2));
    
  5. or download this
    use Win32::GUI;
    use Win32::GUI::GridLayout;
    ...
    sub Main_Resize {
       $grid->recalc();
    }