in reply to Perl TK Problem!

Here is the syntax to grab a whole line from a textbox. There are two parameters, start & end.     my $value = $field->get('1.0','1.0 lineend');. The first number , in this case, 1 specifies the line index, then 0 specifies the index in the line. lineend is a modifier that adjust the index to the end of the line. So in my case I simply asjust 1.0 to lineend

You can find lots of useful info about Tk @ Tk-Tutorial @ Cornell It may not be the most comprehensive or useful documentation list, but I'm rather fond of it.

Hope that helps,

Grygonos

Replies are listed 'Best First'.
Re: Re: Perl TK Problem!
by Anonymous Monk on Feb 24, 2004 at 15:32 UTC
    heya, thank you so much, it all works that to them parameters for get() :) Thanks also for the tutorial link (ive been trying to find a good one) and to everyone else who replied (except the first dude! :P)