Re: NSMatrix, NSForm - addRow - why above and not below?

2012-03-13 Thread Grandinetti Philip
gt; I'm running into a strange behavior with NSForm (and also NSMatrix). >> >> (1) Using interface builder (in Xcode 4.3.1) I place an NSForm in a window. >> I add a NSButton and wire it to an IBAction that sends addRow to the NSForm. >> >> - (IBAction) addRow:

Re: NSMatrix, NSForm - addRow - why above and not below?

2012-03-13 Thread Fritz Anderson
On 13 Mar 2012, at 12:49 PM, Keary Suska wrote: > It is a bit deceptive, but the problem is not what you think. The row is in > fact added at the bottom, but when the view is resized it is sized from the > bottom left corner, instead of the top left, which is intuitive for humanity > but not ap

Re: NSMatrix, NSForm - addRow - why above and not below?

2012-03-13 Thread Keary Suska
On Mar 13, 2012, at 8:55 AM, Grandinetti Philip wrote: > I'm running into a strange behavior with NSForm (and also NSMatrix). > > (1) Using interface builder (in Xcode 4.3.1) I place an NSForm in a window. I > add a NSButton and wire it to an IBAction that sends add

NSMatrix, NSForm - addRow - why above and not below?

2012-03-13 Thread Grandinetti Philip
I'm running into a strange behavior with NSForm (and also NSMatrix). (1) Using interface builder (in Xcode 4.3.1) I place an NSForm in a window. I add a NSButton and wire it to an IBAction that sends addRow to the NSForm. - (IBAction) addRow:(id)sender { [form addRow]; [form sizeTo

NSForm

2008-12-29 Thread AppDev
Hi list, I was reading up on NSForm but the documentation is a bit lacking...(either that or the post christmas period has me in a haze...) I was wondering two things: - Is it possible to have multiple items per row (row 1: text field spanning 2, row 2: 2 text fields) ? - Is it possible to

Re: Creating an NSForm programmatically & tabbing

2008-09-27 Thread mmalc crawford
On Sep 27, 2008, at 12:03 PM, Eric Gorr wrote: Contacts-FormManual is where I am creating the NSForm programmatically. When I tab between the fields, I would like the formChanged: selection to be called. [theFormCell setSendsActionOnEndEditing:YES]; mmalc

Re: Creating an NSForm programmatically & tabbing

2008-09-27 Thread Eric Gorr
Here's some sample code demonstrating this two cases: http://ericgorr.net/nsform.zip Contacts-FormManual is where I am creating the NSForm programmatically. When I tab between the fields, I would like the formChanged: selection to be called. Contacts-Form is where I am creating the N

Creating an NSForm programmatically & tabbing

2008-09-27 Thread Eric Gorr
When I use interface builder to create a NSForm and hook up it's action, I see the action being executed when I tab between the fields as I am running the application. However, when I create a NSForm programmatically and hook up it's action, I only see the action being execu

Re: NSForm from NSFormCell

2008-08-08 Thread Negm-Awad Amin
own risk. Amin -Ken Cocoa Frameworks On Fri, Aug 8, 2008 at 11:51 AM, Negm-Awad Amin <[EMAIL PROTECTED] > wrote: Am Fr,08.08.2008 um 20:22 schrieb Kurt Sutter: I have a series of NSFormCell objects in an NSForm. Given the NSFormCell object, is there a way to get the corresponding

Re: NSForm from NSFormCell

2008-08-08 Thread Ken Ferry
Cocoa Frameworks On Fri, Aug 8, 2008 at 11:51 AM, Negm-Awad Amin <[EMAIL PROTECTED]> wrote: > > Am Fr,08.08.2008 um 20:22 schrieb Kurt Sutter: > >> I have a series of NSFormCell objects in an NSForm. >> >> Given the NSFormCell object, is there a way to get t

Re: NSForm from NSFormCell

2008-08-08 Thread Negm-Awad Amin
Am Fr,08.08.2008 um 20:22 schrieb Kurt Sutter: 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

NSForm from NSFormCell

2008-08-08 Thread Kurt Sutter
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

NSForm bug?

2008-05-11 Thread Ben Einstein
I've been playing with NSForm the first time. I'm quite surprised that I can easily change the font of the cell (title or value) but I can't easily change the color as you can with plain ole' NSTextField(Cell). Anyway, no big deal right? There are the attributedStrings