
I tried a li'l test stack with the example given, and assumed that to obtain the returned value would be the same principle as for functions. So the first handler is mine, and the getProp is the User Guide example:
Code: Select all
on mouseUp pMouseBtnNo
put myCustomProperty() into field "B"
end mouseUp
getprop myCustomProperty
return the vscroll of field "Field" + 20
end myCustomProperty
While on this subject, I don't understand setProp at all; for instance, the example given:
Code: Select all
setProp myCustomProperty newSetting
set the hilite of me to true
pass myCustomProperty
end myCustomProperty
Code: Select all
on mouseUp
set the hilite of me to true
end mouseUp
Similarly with some simple functions: the User Guide example:
Code: Select all
function currentDay
return item 1 of the long date
end currentDay
Code: Select all
on mouseDown
put item 1 of the long date into field "Field"
end mouseDown
Any light shed within this foggy room appreciated thank you!
