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
remove hilite selection from field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Assuming you're talking about a list field, you can
Jan Schenkel.
Code: Select all
set the hilitedLines of field "MyField" to empty
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
-
- Posts: 2
- Joined: Sun Oct 12, 2008 6:46 pm