I want to set a slider with a click to a value via variable, i got that that far:
property parent : class "NSObject"
set slider to 100
My Button is in the .xib file linked to "sliderButton" and the slider is linked to slider, but if i click on the button nothing happens.
Be more specific when you say you are linking the slider. Are you trying to use a Reference Outlet or a Binding to the slider's value? Cause you're showing neither in your code.
property mySlider: "100"
and then bind the slider's value to that variable. Or, if you're using a reference outlet, you'd need:
property mySlider: missing value
And then call something like:
mySlider's setIntegerValue_("100" as integer)