Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: How to use Tk::Text->SetCursor (INDICES/INDEX)

by Yu Chen (Initiate)
on Nov 08, 2013 at 20:50 UTC ( [id://1061772]=note: print w/replies, xml ) Need Help??


in reply to Re: How to use Tk::Text->SetCursor (INDICES/INDEX)
in thread How to use Tk::Text->SetCursor

Thanks man.
But I still cannot understand.
For example, How to move the insert cursor to 3rd line?
  • Comment on Re^2: How to use Tk::Text->SetCursor (INDICES/INDEX)

Replies are listed 'Best First'.
Re^3: How to use Tk::Text->SetCursor (INDICES/INDEX)
by Anonymous Monk on Nov 08, 2013 at 21:08 UTC

    You buy it dinner first?

    my $line = 3; my $char = 0; $text->SetCursor( "$line.$char" ); $text->SetCursor( "3.0" );
      Yes, it works well. Thank you very much!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1061772]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-20 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found