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,In reply to Re: Perl TK Problem!
by Grygonos
in thread Perl TK Problem!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |