how to change the rect of an edit text in each cell on an NSTableView?
how to change the rect of an edit text in each cell on an NSTableView?
- Subject: how to change the rect of an edit text in each cell on an NSTableView?
- From: Norio <email@hidden>
- Date: Tue, 13 May 2008 23:03:53 +0900
I really need your help.
I try to make a view which is like a table view, and which has a text edit
area when focus comes to the view. And the editing area must change its
frame depending on the column. The editing area moves to the next, previous,
above, and below cell when user types tab or return key. User also can point
a cell with the mouse to select the edit area in the cell.
The size of an editing area is about half width and half height of the cell,
and the other is the same size of the cell.
NSTableView can have an editing area but its size becomes its text size.
At first I came to mind to make a subclass of NSMatrix, but it requests to
have the same size of cell. But the column width of my view is various.
Then I try to make a subclass of NSTableView. But at this point I was
wondering if it could have different size of editing area. If so, how?
Any suggestion and ideas would be VERY appreciated. Alternative also would
be grateful.
Thank you,
Norio
_______________________________________________
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