10-15-2008 12:17 AM
my $tx->insert('end', @res);
text area display this result in same line.i want to display it value per line.
pls any help..........
Solved! Go to Solution.
10-15-2008 01:54 AM
but maybe Mr. Perl will answer later today :-)
10-15-2008 12:02 PM
A wild guess would be to call the insert method once for each line of output you want rather than once overall.
10-15-2008 08:04 PM
if i state my problem in more clearly...i have array with some values.and i want to insert that array into text box in perl tk.i think now you understand my point.
thanks for your time
10-20-2008 05:05 AM
if $x is a ListBox widget,
$x->insert ("end", @res1, @res2);
would do what you require. If $x is a Text or ROText widget, you might want
$x->insert ("1.0", join "\n", @res1, @res2);
Enjoy, Have FUN! H.Merijn