NSForm from NSFormCell
NSForm from NSFormCell
- Subject: NSForm from NSFormCell
- From: Kurt Sutter <email@hidden>
- Date: Fri, 8 Aug 2008 20:22:52 +0200
I have a series of NSFormCell objects in an NSForm.
Given the NSFormCell object, is there a way to get the corresponding
NSForm object?
More specifically: I have added an class extension to NSFormCell,
which does some operations on the form cell. One of the operations
requires the method to select the form cell, and the method would
therefore like to call selectTextAtIndex of the owning NSForm.
However, all I have is "self" of the NSFormCell, and I have no clue
how to obtain the NSForm object therefrom.
Any advice?
Kurt
_______________________________________________
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