Simple to do. Here is an example if you want to protect line 2:

local tLine


on mouseDown
  put word 2 of the selectedLine into tLine
end mouseDown


on mouseUp
  if word 2 of the mouseLine = 2 then select line tLine of me
end mouseUp


This leaves the currently selected line intact.


You can always preset a protected list of lines you do not want anyone to select


Craig Newman
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to