I have a text member with its editable property set to false when its sprite is displayed on the stage. I want the member to become editable when the user clicks the sprite:

on beginSprite me
  sprite(me.SpriteNum).member.editable  = false
end

on mouseDown me
  sprite(me.SpriteNum).member.editable  = true
end

What happens is that when I click the text sprite, the member does become editable, and the focus is in the sprite, and I can type new text in. But the blinking insertion point is not displayed, and I have to type blindly.

I tried this:

on mouseDown me
  sprite(me.SpriteNum).member.editable  = true
  sprite(me.SpriteNum).member.selection = [1, 1]
end

but that made no difference: I can type into the box, but do not see the insertion cursor. What am I doing wrong?

Thanks for any tips,

Slava


[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