Hi Irv
I just ran a test in D8 authoring only on a PC and it seems to hold the
formatting regardless of whether the field is empty or contains text. I
tried changing forecolor, fontstyle, fontSize and font then clearing the
field by setting it to empty then putting text back in while it was looping
on a frame. The changes made while the field was empty or filled with text
were retained regardless of whether the field was set to empty or not
imbetween. I'm still not sure I'd trust it with my life but it seems to
work in D8 authoring. Not sure how it will break in runtime.
Hope this helps a bit.
Sincerely
Mark
--------------------------------------------
Mark R. Jonkman
Mark R. Jonkman Consulting
ADDRESS: 20 Windermere Crt., Guelph, ON, CANADA N1E 3L4
PHONE: 519-837-8509
EMAIL: [EMAIL PROTECTED]
--------------------------------------------
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Irv Kalb
> Sent: September 1, 2000 12:25 AM
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> Flushing the user input value from Field or Text
> member
>
>
> At 11:57 AM +0100 8/31/00, #LCARS wrote:
> >[EMAIL PROTECTED] wrote:
> >
> >> I want to flush the user input value at a time of stoping the movie.
> >
> >You can do that by setting:
> >member("TextField").text = EMPTY
> >
> >...before exiting the movie - for instance placed in event handler "on
> >stopMovie". Or simpler: Clear your fields empty before writing your
> >projector and avoid "saveMovie()" during runtime.
> >
> >
>
> There was a bug in older versions of Director (4, 5, 6) on the PC,
> whereby resetting the text back to EMPTY or "" would have the
> unfortunate side effect of also clearing any font, italic, bold, etc
> information that had also been set on. Because of this bug, whenever
> I want to clear out a field or text member, I always reset it to a
> single space, " ". This allowed the formatting information to be
> kept while visibly clearing out the field. I know this bug existed
> on field members, I'm not sure about text members. Because of this
> bug, I have used this technique for years.
>
> I have been working with D8 on a Mac for some time, but have not yet
> installed D8 on my PC. Can someone tell me whether or not this bug
> has been fixed in D8 (or even D7) for text and/or field members?
>
> Thanks,
>
> Irv
> --
> Lingo / Director / Shockwave development for all occasions
> (We even do weddings and Bar Mitzvahs!)
> See our kid's CD-Rom's at: http://www.furrypants.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!]
>
>
[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!]