Questions tagged [nsform]

An NSForm object is a vertical matrix of NSFormCell objects to implement the fields.

6 questions
1
vote
1 answer

How can I change individual cell background colors in an NSForm?

I would like to individually set cell background colors in an NSForm. I thought it would be a matter of subclassing NSForm and overriding -drawCellAtRow:column:. But -drawCellAtRow:column: only gets called when the cell receives focus. I've…
SSteve
  • 10,550
  • 5
  • 46
  • 72
1
vote
1 answer

Cannot get NSForm to work?

I have a basic project that contains nothing but an NSForm. All i'm trying to do is add some rows to it. From my understanding, I should be able to do this somehow like the following: - (void) awakeFromNib { NSLog(@"Test: %p", form); [form…
Kyle
  • 17,317
  • 32
  • 140
  • 246
0
votes
1 answer

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

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)…
pjg
  • 565
  • 4
  • 19
0
votes
1 answer

NSFormCell placeholderString

Just set up a NSForm and binded the first row to an NSFormCell in Interface Builder. When I enter a text, I expected to get the result in [myFormCell placeholderString] or [myFormCell placeholderAttributedString] but there are nil. Instead, I get it…
Tom
  • 613
  • 6
  • 14
0
votes
1 answer

NSForm disappearing from custom sheet

I've made a custom sheet and it appears and disappears as necessary. However, the sheet includes an NSForm that disappears when automatic cell resizing is disabled. When "Auto recalculate cell size" is enabled, the form appears but the form's cells…
joeythrift
  • 29
  • 6
0
votes
1 answer

NSForm cells not displaying correctly

I'm adding an NSForm to an NSTabView in IB and everything looks fine (top picture). When I launch the app and goto the tab with the NSForm the form text fields look like the picture on the bottom. What am I doing wrong?
Chris
  • 1,005
  • 1
  • 13
  • 27