Custom grid view
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