Geoff, see my comments in-line. I've snipped a bit for brevity. > I'm having a problem with a behavior I wrote. Seems for some > reason Director in "sometimes" converting my list to a > string. I have not been able to track down why.
> on getPropertyDescriptionList me > > set propList = [:] > > set theProp = #pListOfSubMenusToCheck > set theDefault = ["A","B"] > set theComment = "List of gTrackerItems to Check before > marking this screen done:" > set theformat = #list > setAProp(proplist, theProp,\ > [#default:theDefault,#comment:theComment,#format:theFormat]) > > set theProp = #pCustomEvent > set theDefault = "nothing" <--- here At this point, you're setting theDefault to a string, while you had it set to a list of strings before (["A", "B"]) If you want to keep it as a list, try: theDefault = ["nothing"] > set theComment = "The custom event you'd like to happen > when done, if any:" > set theformat = #string > setAProp(proplist, theProp,\ > [#default:theDefault,#comment:theComment,#format:theFormat]) And here, you're adding a string, not a list, as the value of the #default property. HTH. Cordially, Kerry Thompson [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!]
