Re: Changing a custom field editor's position

2009-04-29 Thread Ashley Clark
The PhotoSearch[1] sample code from Apple uses a custom cell and overrides -selectWithFrame:inView:editor:delegate:start:length: and - editWithFrame:inView:editor:delegate:event: to resize the field editor within a larger cell. Ashley [1] http://developer.apple.com/SampleCode/PhotoSearch/

Re: Changing a custom field editor's position

2009-04-29 Thread K. Darcy Otto
Hi Ulai, Did you find a solution to this problem? I'm trying to do the same thing. Darcy Hi, Let's say I want to have the field editor for a table view appear 2 pixel below where it usually is, i.e. shifted 2 pixels down. How can I do this? Consider the following hypothetical situatio

Re: Changing a custom field editor's position

2009-03-16 Thread Corbin Dunn
On Mar 15, 2009, at 9:45 AM, Ulai Beekam wrote: Hi, Let's say I want to have the field editor for a table view appear 2 pixel below where it usually is, i.e. shifted 2 pixels down. How can I do this? Consider the following hypothetical situation: If I subclass NSTextView and override th

Changing a custom field editor's position

2009-03-15 Thread Ulai Beekam
Hi, Let's say I want to have the field editor for a table view appear 2 pixel below where it usually is, i.e. shifted 2 pixels down. How can I do this? Consider the following hypothetical situation: If I subclass NSTextView and override the drawRect method like this, - (void)drawRect:(NSRect)