Why... is the selected text deselected?

Alex Rice alrice at ARCplanning.com
Tue Feb 18 14:01:01 EST 2003


In the docs troubleshooting item "Why... is the selected text 
deselected?", I was looking for an explanation of why a field's 
selection is deselected just by moving from one card to the next. How 
can I prevent this from happening? It makes my print screens routine 
more complicated because the user's selections are missing, unless I 
message each of my cards to do  my updateUI handler.

I've verified this with a stack containing only 2 cards and 2 list 
fields.

I tried setting autoHilite of the field to false, and putting this 
handler, but then I can't select text at all.

on mouseDown
     set the hilitedLines of me \
       to (word 2 of the clickLine)
end mouseDown

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
alrice at ARCplanning.com
alrice at swcp.com






More information about the use-livecode mailing list