FROM : John Joyce
DATE : Mon May 05 14:16:34 2008
(sorry for the repost, I forgot to change the subject line before)
I'm struggling and maybe tired, but how do you set the state of and
NSMatrix with radio buttons and NSPopUpButton ?
Does it go in windowDidLoad or should it be in awakeFromNIB ?
This is in a Preference window for my app.
I'm having a hard time figuring out how to get it to set state to
reflect the userDefaults.
No trouble with changing the defaults after a selection, just
reflecting the current defaults on load of the window.
What methods am I missing?
For the popup, I have tried selectItemWithTitle, selectItemWithTag,
etc...
For the radio button matrix, I am totally lost and I don't understand
how to set the state of it. Does the matrix need IBOutlets for each
cell too?
DATE : Mon May 05 14:16:34 2008
(sorry for the repost, I forgot to change the subject line before)
I'm struggling and maybe tired, but how do you set the state of and
NSMatrix with radio buttons and NSPopUpButton ?
Does it go in windowDidLoad or should it be in awakeFromNIB ?
This is in a Preference window for my app.
I'm having a hard time figuring out how to get it to set state to
reflect the userDefaults.
No trouble with changing the defaults after a selection, just
reflecting the current defaults on load of the window.
What methods am I missing?
For the popup, I have tried selectItemWithTitle, selectItemWithTag,
etc...
For the radio button matrix, I am totally lost and I don't understand
how to set the state of it. Does the matrix need IBOutlets for each
cell too?
| Related mails | Author | Date |
|---|---|---|
| John Joyce | May 5, 14:16 | |
| Graham Cox | May 5, 17:19 |






Cocoa mail archive

