Hello All,

I have a multiline Textfield which acts as my output console.

$main = Win32::GUI::Window->new(-name => 'Main',
                                -text => 'Perl Win32 GUI',
                                -width => 550,
                                -height => 660,
                                -maximizebox => 0,
                                 );

$outputText  = $main->AddTextfield(
               -name =>"outputTextField",
               -width => 500,
               -height => 290,
               -left   => 20,
               -top    => 290,
               -readonly => 0,
               -multiline => 1,
               -vscroll =>1,
               -hsscroll => 1,
                );


Now I want to print the messages in this text filed in different colours
..
Like ...

$outputText->Append("The list file $opt_list is invalid.\r\n"); 

How can I print in some color say Red ...
Or should I use something else?

Thanks and Regards
Maxmelbin Neson
------------------------------------------------------------------------
-----------------------------------------
Robert Bosch India Limited
Engineering Services - DS - Methods and Tools (RBIN/EMT1)
123 Industrial Layout  -  Hosur Road -  Bangalore 560 095  -  INDIA
Telephone: +91 80 6657-4532      Fax: +91 80 6657-1404
[EMAIL PROTECTED]
www.bosch.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to