|
NSButton in Interface Builder - can't get it working at all? Help?Okay, I feel like I must just be a moron, but I can't for the life of me get a pushbutton to work (at all) in Interface Builder (with Quartz.) I've tried setting it to all of the different button modes (momentary, toggle, etc) and I tried bindings in every field I could think of ("Bind to: Patch Controller", Controller Key = patch, Model Key Path = Submit.value, and the name of my published input is Submit, case-sensitive.) The fields I tried entering that into were "Target," "Value," "Availability," and "Hidden." I checked and the other UI elements do work (text entry boxes) so I know it's talking to the Quartz composition. I know there's some weirdness with the type of signal Interface Builder buttons send, but I can't get them working at all! It seems like such a simple thing. Can someone figure out what I'm doing wrong here? I really need this working ASAP. Feels like I'm bashing my head against a wall, hahaha. (I am running OSX 10.5.8.)
|
Hmm, upon further investigation, it seems that the button is now working, but for some reason when I run it in Cocoa Simulator the Kineme Text File Writer is not working. Will it work when I compile to a standalone Cocoa app? Just weirdness with the simulator? The text writer definitely works as expected from within QC.
Update: tried compiling it in XCode, compile finishes successfully and it runs, but the QC viewer is nowhere to be found. No error msg. And yes, I did add the Quartz framework to the project.
I am such a dunce. hahahahah
Even though one should not double post, perhaps you could try the dev-list for this, I would.
use ON/OFF behavior. for push button, add a pulse patch in QC.