RE: [perl-win32-gui-users] multiline Label

This Will Sound Silly
But How do Get A label to display the text the way I want it
without just wraping the text
in other words how do I insert \n ,\r ,\t etc.......
Without getting a square where my "\n" should be ..
This is what i've tried , plus a few other things
$W->DisplayError->{-text} = "SDR For $barcode\n COULD NOT BE FOUND
!!";
this is what i'm getting
SDR For 12345? COULD NOT BE
FOUND !!";
This is what I Want
SDR For 12345
COULD NOT BE FOUND !!";
Rgds Eoin :
EMF2 Test Engineering
mailto:Eoin_Butler@...
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@...
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

Thread view

This Will Sound Silly
But How do Get A label to display the text the way I want it
without just wraping the text
in other words how do I insert \n ,\r ,\t etc.......
Without getting a square where my "\n" should be ..
This is what i've tried , plus a few other things
$W->DisplayError->{-text} = "SDR For $barcode\n COULD NOT BE FOUND
!!";
this is what i'm getting
SDR For 12345? COULD NOT BE
FOUND !!";
This is what I Want
SDR For 12345
COULD NOT BE FOUND !!";
Rgds Eoin :
EMF2 Test Engineering
mailto:Eoin_Butler@...
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@...
http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users

Try using a multiline, borderless, readonly text field ... will take a while
digging thru texpex and .h-files until you figure out what values to feed
-addstyle and -remstyle with, and maybe fiddle with colors. But when you've
found it all out, lemme know ... ;-)
nb, line breaks in textfields require crlf (\r\n), not just newline.
Have fun,
Harald
| -----Original Message-----
| From: Eoin_Butler@... [mailto:Eoin_Butler@...]
| Sent: Friday, May 25, 2001 1:48
[...]
| This Will Sound Silly
| But How do Get A label to display the text the way I want it
| without just wraping the text

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

CountryState

JavaScript is required for this form.

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details