|
From: Darrel Hoffman on 10 Apr 2008 23:55 I should be able to find this in the help files, but I can't, so I'm asking here - what's the command to place the insertion point cursor on an editable text sprite? I want to make Home and End respond properly instead of adding weird rectangle characters. I know there's a way to do this, but I forgot the name of the property...
From: Mike Blaustein on 12 Apr 2008 10:49 You would set the text member's .selection property. Home button: member("membername").selection=[0,0] End button: totalChars=member("membername").text.char.count member("membername").selection=[totalChars,totalChars]
From: Darrel Hoffman on 12 Apr 2008 12:59 > You would set the text member's .selection property. Thanks, I knew it was something simple like that... Just couldn't for the life of me remember the name of the property. (I was expecting it to involve the words "Insert", or "Insertion Point", or "Cursor" or something sensible like that.)
|
Pages: 1 Prev: How to do something when the left arrow is pressed Next: Newbie lost |