Thanks, Al! Unfortunately, it seems that the selEnd and the selStart work 
only in field, not in editable text members, and I cannot use a field for 
other reasons.

If there is there a way to find out where the insertion point is in an 
editable text field, please let me know.

I've also been trying, in vain, to prevent my eidtable text box from being 
highlighted on entering the frame. This:

on beginSprite me
    sprite(me.spriteNum).member.selection = [0, 0]
end

seems to remove the highlight for a split second when the frame is 
displayed, but then the entire text gewts highlighted, I don't know why.

BTW, regarding the joke in your signature, there's  a longer version.

Professor: There are languages where a double negative makes a positive.
A Russian student: Net, net! (an emphatically negative statement)
Professor: But there are no languages languages where a double positive 
makes  a negative.
A Russian student: Da, da... (equivalent to Yeah, right!)

Slava

At 07:26 AM 4/7/2001 -0400, you wrote:
> > But if the user has typed a string, and then moved the
> > insertion point to
> > some place in the middle of the text, I need to know where it
> > is, before I
> > can rewrite the text.
>
>look up the SelStart and selEnd.
>
>HTH
>
>Al Hospers
>CamberSoft, Inc.
>al<at>cambersoft<dot>com
>http://www.cambersoft.com
>
>A famous linguist once said:
>"There is no language wherein a double
>positive can form a negative."
>
>YEAH, RIGHT


[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