Focus and Text Fields
geradamas at yahoo.com
Fri Oct 6 02:45:19 CDT 2006
I have the following script in a Card:
put "We" into fld "F1"
focus on fld "F1"
now what this does is:
it puts "We" into the field "F1"
puts the cursor BEFORE "We" in the field "F1"
(nothing terribly remarkable there!)
I would like it so that when the FOCUS is set to field
cursor is set after the letters "We"
AND - - -
directions for how to put a cursor anywhere in a
string inside a field:
e.g. Between "I" and "a drink"
in "I a drink"
Of course this question has a general application.
I would be very grateful for any help.
sincerely, Richmond Mathewson
"Philosophical problems are confusions arising owing to the fluidity of meanings users attach to words and phrases."
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine
More information about the use-livecode