The fontstyle is actually a list: ["Bold"]
That should work!
HTH,
-- Clint
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of jmk
> Sent: Wednesday, February 21, 2001 4:35 AM
> To: Lingo-l Mailing List
> Subject: <lingo-l> formating with lingo
>
>
> i would like to create something like a simple text editor with
> director...
>
> i got an editable textfield, a button which is supposed to change
> the fontstyle of the selected text to "bold" and a script:
>
> on mouseup
> s=selstart
> e=selend
>
> member("Textfield","Cast").char[s..e].fontstyle="bold"
> end
>
>
> result is:
> 1. my variables show the correct
> beginning and end of my selection
> 2. an errormessage
> "Property not found"
>
> i'm using director 7.02 for windows.
>
> please help, where is the mistake in this script
>
> [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!]