FROM : Moray Taylor
DATE : Sun Dec 19 22:34:11 2004
Hi,
I am getting strange things happening with an NSPopUpButton, it's
disabling it's menu items when I connect it to an action.
I have a programmatically populated NSPopUpButton, which works fine,
until I connect it to an action in IB, then when I run my app, and
click on the NSPopUpButton, it disables itself and it's contents. If I
rename the action method from pageControlActions: to
pageControlActions2: in my code, it no longer disables itself, but of
course it no longer triggers the action.
I'm sure it's something simple, but I've tried the usual methods, like
recreating the control in IB, but it always does it. I've done things
like this a million times before and never had a problem.
Thanks for any tips
Moray
DATE : Sun Dec 19 22:34:11 2004
Hi,
I am getting strange things happening with an NSPopUpButton, it's
disabling it's menu items when I connect it to an action.
I have a programmatically populated NSPopUpButton, which works fine,
until I connect it to an action in IB, then when I run my app, and
click on the NSPopUpButton, it disables itself and it's contents. If I
rename the action method from pageControlActions: to
pageControlActions2: in my code, it no longer disables itself, but of
course it no longer triggers the action.
I'm sure it's something simple, but I've tried the usual methods, like
recreating the control in IB, but it always does it. I've done things
like this a million times before and never had a problem.
Thanks for any tips
Moray
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

