Hi

This was posted before, but no one ever came up with a solution.
A workaround would be:
1) use a RichEdit instead of the Textfield
2) since the -readonly (or ES_READONLY) does not work as expected,
do the $LogWindow->AddRichEdit() without it and then go

  $LogWindow->LogText->SendMessage(0xCF, 1, 0);

Have fun
Harald

References:
Message: 5310692 
FROM: Glenn Linderman
DATE: 03/09/2001 08:54:51
SUBJECT:  [perl-win32-gui-users] Bug in Textfield scrolling
 
Message: 5302185 
FROM: Aldo Calpini
DATE: 03/08/2001 07:00:02
SUBJECT: RE:  [perl-win32-gui-users] Re: how to set ?

| -----Original Message-----
| From: Webmaster CZ [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, April 10, 2001 11:50
| To: perl-win32-gui-users@lists.sourceforge.net
| Subject: [perl-win32-gui-users] Bug with -readonly
| 
| 
| Hi !
| 
| (Sorry for the bad english...)
| 
| If i write for example ....
| 
| ####################
| $LogText = $LogWindow->AddTextfield(
|    -name      => "LogText",
|    -left      => 1,
|    -top       => 1,
|    -width     => 280,
|    -height    => 80,
|    -font      => $LogFont,
|    -background => "#FFFFFF",
|    -foreground => "#009900",
|    -style => WS_VISIBLE | WS_VSCROLL | ES_AUTOVSCROLL | ES_MULTILINE |
| ES_READONLY,
| );
| ###################
| 
| .... and have many text that i can scroll .... yeahh: then the text is
| "mapped over" (i don't now how
| i can it write...) !!!
| but ONLY if the a) -readonly OR b) ES_READONLY is activ.....
| 
| 
| _______________________________________________
| Perl-Win32-GUI-Users mailing list
| Perl-Win32-GUI-Users@lists.sourceforge.net
| http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
| 

Reply via email to