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..

global gMode,mode1,mode2,mode3,mode4,mode5

property vModeList

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

on mouseUp me
  gMode=vModeList
  changeManPablo
  put gMode
end

It should send it like gMode="mode1"

Can anyone help please?
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


[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