• 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
Subclassing NSFormCell (three years later)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subclassing NSFormCell (three years later)


  • Subject: Subclassing NSFormCell (three years later)
  • From: Cédric Luthi <email@hidden>
  • Date: Tue, 2 May 2006 18:43:14 +0200

Hello,
I'm trying to implement a custom NSForm where cells could also be a popup, a secure text field or whatever. I have found in the archives this message from Francisco Tolmasky facing the exact same problem as me:
"Ok, I have a form in my program and I'm using an NSForm with NSFormCells since they seem to do the job very well. Unfortunatelly, I would like to have cells that allow things other than text entry. For example check boxes and pop up boxes, etc. The brute force way to achieve this would be to just add cells using the NSMatrix messages, but I would like to instead subclass NSFormCell to get all the benefits, such as having the title sizes match each other and match up, etc. Does anyone know how I would approach subclassing NSFormCell to make NSCheckBoxFormCell or NSPopUpButtonFormCell?


Thanks in advance,"

Unfortunately, this message got no reply at all. After many hours of googling, I still can't find a clue on how to achieve that. Using "static" controls is not a suitable solution as cells in the form are going to be dynamically added and removed.

I hope someone have a clue three years after the first post :-)

Cédric Luthi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: show and hide NSWindow
  • Next by Date: Re: Playing dynamically generated MIDI notes
  • Previous by thread: Re: show and hide NSWindow
  • Next by thread: Using WebKit to edit CSS
  • Index(es):
    • Date
    • Thread