• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Custom grid view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom grid view


  • Subject: Custom grid view
  • From: Georg Seifert <email@hidden>
  • Date: Tue, 18 Aug 2009 01:53:09 +0200

Hi,

I try to implement a control with several  NSTextCells in it.

I have problems starting the edit mode.

So fare I tried this (in the control’s mouseDown):
NSText * textObj = [[self window] fieldEditor:YES forObject:_editCell];
[textObj setEditable:YES];
[textObj setFieldEditor:YES];
[textObj setSelectable:YES];
[_editCell selectWithFrame:Frame inView:self editor:textObj delegate:self start:0 length:32000];
[_editCell setUpFieldEditorAttributes:textObj ];
[_editCell editWithFrame:Frame inView:self editor:textObj delegate:self event:theEvent ];

What else should I implement. Is there any sample code (I did searched the web but found nothing)?


Thanks
Georg_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Memory management issues/leaks
  • Next by Date: Re: Mac access to iPhone Document Directory
  • Previous by thread: Re: Memory management issues/leaks
  • Next by thread: Read last x bytes of a text file?
  • Index(es):
    • Date
    • Thread