• 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
NSMatrix, NSForm - addRow - why above and not below?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: NSMatrix, NSForm - addRow - why above and not below?
  • From: Grandinetti Philip <email@hidden>
  • Date: Tue, 13 Mar 2012 10:55:43 -0400

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 sizeToCells];
}

The problem is that the new row is added ABOVE the existing row, not below as it's supposed to. I thought this was a problem coming from somewhere else in my app, but I created a new project in Xcode and this happens even in the simplest app.

I must be doing something stupid wrong, but I can't find it. Any suggestions would be appreciated.



_______________________________________________

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

  • Follow-Ups:
    • Re: NSMatrix, NSForm - addRow - why above and not below?
      • From: Keary Suska <email@hidden>
  • Prev by Date: Re: Sudden and hard to reproduce crashes in libcache
  • Next by Date: Re: NSMatrix, NSForm - addRow - why above and not below?
  • Previous by thread: Re: Sudden and hard to reproduce crashes in libcache
  • Next by thread: Re: NSMatrix, NSForm - addRow - why above and not below?
  • Index(es):
    • Date
    • Thread