Just a long shot: are you sure that InfoText contains the name of a member (as in "string") and not a member reference (as in member("string"))?

-A.


At 09.24 -0500 03-02-26, DT-Rene Vazquez wrote:
Hi, how I can pass as a parameter to a handler a value to replace the
cast member of a MIAW's sprite.

What I'm trying to do is this:

on ShowWindow InfoText

global DetailWindow

set DetailWindow to window "Data"

open DetailWindow

tell DetailWindow

    sprite(2).member = member InfoText
    updateStage

end tell

end

but when I run the handler I get the error:
'Handler not defined sprite(2).member = member InfoText #member'

anyone know what I'm doing wrong.

Thanks a lot in advance
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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/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!]

Reply via email to