From: Aldo C. <da...@pe...> - 2017-11-10 09:32:42
|
On 10/11/17 07:55, Oshri Shomrony wrote: > Hello, > > I'm using perl 5.24 with win32::GUI. > > I would like to open a window and display on it multiple lines taken > from an array. > I would also like it to be scrollable in case the window is smaller > than the text size. > > for some reason, using "\n" doesn't work in AddLabel at all - the text > after the \n is not displayed. > > How can I display multiple lines in a window? hi, what you want is a Textfield (not Label) object, with -multiline => 1. and note, newline is "\r\n". documentation is here: http://perl-win32-gui.sourceforge.net/cgi-bin/docs.cgi?doc=textfield hope this helps. cheers, Aldo |