Re: text field focus and placement of cursor

Johan Meskens CS3 jmcs3 <[email protected]> Tue, 18 Apr 2006 23:38:24 +0200
Newsgroups gmane.comp.lang.perl.tk
Organization INTERLICHTSPIELHAUS
Message-ID <[email protected]>
On Mon, 2006-04-17 at 20:03 +0200, Johan Meskens CS3 jmcs3 wrote:
> hello
> 
> 
> the body always repeats the subject in addition of a few words
> 
> my question:
> 
> what are the methods to let a text field take focus
> and put the cursor at a specific position within that text field ?

i found the following:

$textfield->focus; 
$textfield->icursor( "1.0" );

but i get the error:
Tk::Error: Can't locate auto/Tk/Text/icursor.al in @INC ... etc.

so i guess icursor is not a method that textfields respond to ?

thanks
jmcs3

> 
> 
> thank you
>  - also thank you for yesterday's answers to the hlist question !
> 
> kind regards
> jmcs3
> 
> 
> 
> 
> 
> 
> 
> 
> --------the following could be unreadable @ 1145297011 ::: 
> anaranjado
>  , sound
>  , ing
>  , \
>  , |_an______________________rapot___________________******
>  , CONNECT{
>  , o
>  , THE_ALGONERIC_LIBRARY
>  , |
>  , g
>  , TEST
>  , F-ometimes
>  , 
> 
> -++**==--++**==--++**==--++**==--++**==--++**==--++**==
> This message was posted through the Stanford campus mailing list
> server.  If you wish to unsubscribe from this mailing list, send the
> message body of "unsubscribe ptk" to [email protected]
> 
> 

-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]