I don’t suppose any one knows how to set the initial value of a stepper button?
I’ve tried the obvious…
on awake from nib theObject
if name of theObject is “MyStepper” then
set value of theObject to 5
end if
end awake from nib
This produces the error "Can’t make value of <> id 8 of window id 3 into type reference. (-1700)
I know the initial value is generally set in the inspector window under the attributes pane but I’m getting this value from a prefs file that may be different each time the app launches so I need to be able to change the initial value at launch time.