Re: How to make sure that end of string is visible in NSTextField
Re: How to make sure that end of string is visible in NSTextField
- Subject: Re: How to make sure that end of string is visible in NSTextField
- From: glenn andreas <email@hidden>
- Date: Fri, 18 Nov 2005 09:20:14 -0600
On Nov 18, 2005, at 9:08 AM, Andrei Tchijov wrote:
I have tried to use scrollRectToVisible: on text field, but it
looks like it should be used on something else.
Use [textField scrollRangeToVisible: NSMakeRange([[textField string]
length], 0)];
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | build, mutate, evolve | images, textures, backgrounds, art
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden