Hi Enrique,

Not sure if this works but try issuing an updateStage after moving the
text field.

Other possible solution is to have the field non-editable until you move
it and then make it editable. Then, when you move it off stage again
turn it to non-editable.

HTH

Jorge

-----Original Message-----
I have an interesting problem with a text field.

First let me explain what I want to do.

When the user clicks on a button a writing board appears and the user
types 
in text he wishes to copy to another program (like Word for example).
The 
writing board has a button that when clicked copies the text to the 
clipboard and hides the board again.

The writing board has a background, an editable text field and a button.

All three items are kept off the stage until needed.

The problem.
==========

My problem is that after the user typed in his text and clicked on the 
button to copy the text to the clipboard and hide the writing board, a 
blinking text insertion point remains on the stage on the same position 
where the insertion point was when the user finished typing.

I tried to refocus to the score by using the keyboardFocusSprite but it 
didn't work.

I did notice that when I place another window on top of the stage and
then 
focus again on the stage the insertion point goes away.

Is there a way to force the stage to do a redraw? Or better yet, does 
anyone have a solution to the problem?

Thanks,

Enrique



[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