This has been discussed many times, and there is no pretty solution. One 
that is suggested most often is to use Lingo to select a portion of the 
text in the field that you want to have the focus. This mostly works, but 
the downside is that you always see the flash as the text is selected. Even 
if you select and immediately deselect it, or select only one character, or 
select "no characters," there's still a flash, when the frame is displayed. 
The only way I was able to get rid of it is to set a timer so the text is 
selected a split second after the frame is displayed. But that also has its 
ugly side. The most annoying thing is that it's inconsistent. Sometimes 
there is no flash!

S.

At 01:17 AM 3/1/02 +0100, you wrote:
> > look up 'the keyboardFocusSprite'
>
>Hi Buzz,
>
>it wasn't me who asked the question, but I have the same problem with the
>editable text sprite (Dir 8.5 German, win2k). For me 'the
>keyboardFocusSprite' has no or no reliable effect.
>
>Just now I have the problem that my movie starts with an editable text field
>sprite, that enables the user to input his name. When the movie starts,
>there is a text cursor on the field (even without using the
>keyboardFocusSprite). But when the user jumps back to that frame, the cursor
>is not there anymore. (Although he still can enter his data). With any minor
>change that I make in my movie, the strange behaviour changes. Sometimes,
>the cursor isn't there at the beginning, sometimes it is there, but input is
>only possible if the user clicks on the text field, sometimes the field
>can't be edited at all.
>
>In all cases where the text field reacts strangely the keyboardFocusSprite
>was of no use. Once I inserted a stop script (go to the frame) to check at
>what frame the error occurs or what script might cause the strange
>behaviour. The pure fact of inserting the go to the frame script made the
>text cursor behave normally. When I removed the stop script, the movie
>continued to behave normally, although the code was not different from
>before my debugging effort.
>
>As this is not the first time that I had problems with editable text
>cursors, I do think that there is a bug in Director.
>
>If there was a solution to this, I'd be glad someone told me ...
>
>Michael
>
>
>-Buzz
>
>At 2:50 PM -0800 2/28/02, you wrote:
> >Hi-
> >
> >I'm using a sprite with editable text. I want the sprite to be active with
> >the cusor blinking.
> >But at the moment, this only happens when the user clicks on the sprite. Is
> >there a lingo command that will set the editable sprite to active with
> >blinking cursor, so that the user can just start typing in the field
>without
> >having to click on it first?
> >
> >thanks
> >
> >Thomas

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

Reply via email to