Doh! What was I thinking?
Kerry's right - the #range parameter can used to filter the values
and the standard place to re-verify props is in the beginSprite
handler (or call a verification/initializer handler from there).
-Buzz
At 12:17 PM -0700 7/25/01, Kerry Thompson wrote:
>>How can I get Lingo to call checkParam after one clicks on the OK
>>button of the parameter dialog?
>
>I think you need to take it out of the getPropertyDescriptionList
>handler. Can you do it on beginSprite, or possibly call it from the
>message window with sendSprite? The program would have to be running
>for sendSprite to work, of course.
>
>Or is there another way around it? Can you use the #range property
>to filter properties? Something like this:
>
>on getPropertyDescriptionList
> suitableSound = GetSuitableMembers([#sound])
> p_list = [#pMySound: [#comment: "Sound:", #format: #member,
>#range: suitableSound, #default: whatever]]
> return p_list
>end
>
>Cordially,
>
>Kerry Thompson
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
>email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]