Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interface builder: binding button state to composition



ok,
sorry, I haven't read properly -

you want that the state is being transmitted on mouseDown _and_ on mouseUp,
so you want: on mouseDown send true, on mouseUp send false...


hm, you could achieve this easily with some code, but I can't also see how this would be possible without code in interfaceBuilder...

you need an element which sends "continuously"; a workaround would be a slider... not nice but it can be achived


regards, michael


Am 30.01.2006 um 21:33 schrieb michael markert:

Hi Roger,

you can set the button behavior of every buttonType in the Inspector Pane: "Attributes" Tab.
Set "Behavior" to "ON/OFF" instead of "Momentary" and the "value"- type binding you need should be availble.


;)

Regards,
Michael




Am 30.01.2006 um 21:08 schrieb Roger Bolton:

There doesn't seem to be a way to create any controller type that can be bound to a boolean and will return true only while actually being pressed (instead of a toggle).
I can see this is probably because it violates Apple's HIG and you're supposed
to use the event action model.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: interface builder: binding button state to composition (From: michael markert <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.