Two Textfields from the sample textfield.pl

### Single line, colored
$Textfield = $Window->AddTextfield(
    -name     => "Textfield",
    -left     => 10,
    -top      => 10,
    -text     => "sample text",
    -width    => 180,
    -height   => 22,
    -foreground => [0,255,0],
    -background => [0,0,0],
);

### multiline with scroll bars
$Multitext = $Window->AddTextfield(
    -name     => "Multitext",
    -multiline => 1,
    -autohscroll => 0,
        -vscroll   => 1,
        -hscroll   => 1,
    -left     => 10,
    -top      => 140,
    -width    => 180,
    -height   => 180,
);

> -----Original Message-----
> From: Steven Swenson [mailto:[EMAIL PROTECTED]
> Sent: 11 November 2001 20:45
> To: perl-win32-gui-users@lists.sourceforge.net
> Subject: [perl-win32-gui-users] Text boxes -- Interactive
> 
> 
>    Anyone have an example of  interactive textboxes?  I tried 
> using the 
> examples in the documentaion I could find but all I am getting is the 
> prompt label displayed... no place to enter text.
> 
>            --Steve
> 
> 
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
> 

Reply via email to