strange list behavior...BUG Identified (Scott,Kevin)
Chipp Walters
chipp at chipp.com
Mon Mar 3 17:20:02 EST 2003
Bug identified...
Create a list field and populate it with lines more than the scroll of the
list field (so that you can scroll the hilitedline off the field).
If you put the following:
on mouseDown
put the htmlText of line (the hilitedlines of me) of me into temp
end mouseDown
in the script of the list field. It will 'reset'(set the hilitedlines to
empty) when the hilited line item is scrolled off.
(WinXP. Don't know about Mac --perhaps someone could test)
The fix:
Store the htmlText of the fld in a variable and access it that way.
on mouseDown
put the htmlText of me into tempHTMLtext
put line the hilitedlines of me of tempHTMLtext into temp
end mouseDown
-Chipp
More information about the use-livecode
mailing list