remove hilite selection from field
Posted: Sun Jun 21, 2009 10:17 pm
Greetings
I am using a field object that contains several lines and the field has a script that permits action based on which line is selected. The script (in part) is
on mouseUP
put the selectedText of me into myLine
if myLine is line 1 of fld "list_of_choices" of grp "group_choices" then
...
else if ...
...
end if
Problem: I need to "reset" my application by emptying fields and removing all hiliting and such.
I can not seem to find the commands to "reverse" the colors for the line or restore the field to as if nothing has been selected.
Note: all hiliting is removed if I "save and quit" and then reload the app.
Thank you for your consideration to this problem.
MikeC
I am using a field object that contains several lines and the field has a script that permits action based on which line is selected. The script (in part) is
on mouseUP
put the selectedText of me into myLine
if myLine is line 1 of fld "list_of_choices" of grp "group_choices" then
...
else if ...
...
end if
Problem: I need to "reset" my application by emptying fields and removing all hiliting and such.
I can not seem to find the commands to "reverse" the colors for the line or restore the field to as if nothing has been selected.
Note: all hiliting is removed if I "save and quit" and then reload the app.
Thank you for your consideration to this problem.
MikeC