Hi Slava

I believe you already have the answer to your question:

put member("someTextMember").selection

that gives you the location of the insertion point

if you want to set it to a specific location then:

member("someTextMember").selection = [12,12]

would set it to character 12 (actually just after character 12 I believe.

as for your issue with the text member automatically becoming selected, you
might have to loop on several exit or prepareframes to force it to stay
put.. unfortunately the minute that you remove the focus from that text
member, it will autoselect the whole thing once again.. a real pain in the
a@#.  This nifty feature pretty much keeps me from using editable text
members for most things. It would be nice for MACR to give us the option to
disable this feature if we don't want it :-) but I think that will be a
never to be implemented feature (although if they really really want to
relegate fields to the scrap heap then they better figure out a way of
getting text members to behave far better than they do now IMNSHO).

Sincerely

Mark R. Jonkman


[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