At 15:18 5/31/2001, Jonathan Rees wrote:
>I am setting up a behavior to set a mode. I need to pass either mode1 
>,mode2,mode3,mode4,mode5 to set it but it returns void, I would just like 
>to know if I have set up the getPropertyDescriptionList  correctly..

Sorry, I don't have the time to point out all the errors in the script you 
posted. Perhaps somebody else can. You might also want to pick up a copy of 
the Lingo in a Nutshell book by Bruce Epstein ( http://www.zeusprod.com ). 
There's a chapter in there that explains the GPDL very well.

Meanwhile, try this:

global gMode
property pMode

on getPropertyDescriptionList me
   vModeList = [:]
   addProp(vModeList, #pMode, [#comment:"Assign a Mode",�
   #format:#string, #default:"mode1", #range:[ "mode1" 
,"mode2","mode3","mode4","mode5"]])
   return vModeList
end getPropertyDescriptionList me

on mouseUp me
   gMode=pMode
   changeManPablo
   put gMode
end



--
Mark A. Boyd
Keep-On-Learnin' :)


[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!]

Reply via email to