From: Maxmelbin N. (RBIN/EMT1) <Max...@in...> - 2007-08-22 10:16:12
|
Hello All, I have a multiline Textfield which acts as my output console. $main =3D Win32::GUI::Window->new(-name =3D> 'Main', -text =3D> 'Perl Win32 GUI', -width =3D> 550, -height =3D> 660, -maximizebox =3D> 0, ); $outputText =3D $main->AddTextfield( -name =3D>"outputTextField", -width =3D> 500, -height =3D> 290, -left =3D> 20, -top =3D> 290, -readonly =3D> 0, -multiline =3D> 1, -vscroll =3D>1, -hsscroll =3D> 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");=20 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 max...@in... www.bosch.com |