Re: Position of the selection cursor in an NSTextField
Re: Position of the selection cursor in an NSTextField
- Subject: Re: Position of the selection cursor in an NSTextField
- From: David Dauer <email@hidden>
- Date: Mon, 23 Feb 2004 19:38:12 +0100
"Scott Little" <email@hidden> schrieb am 23.02.2004 18:40 Uhr :
>
try [[myWindow fieldEditor: forObject:myTextField]
>
selectedRange].location
>
>
Although this method (selectedRange) exists for the actual field
>
itself, I beleive that you need to use the actual field editor (of
>
which there is only one per active window).
>
>
At least this is how I understand it :-)
>
Thanks, but I need the actual position of the cursor without that any text
is selected.
Is that possible?
Thanks again
David
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.