Is there any property that determines selectability? (Not focusability, that is the "traversalOn").
I want to lock out the ability to select an object when using the pointer tool. So I made a little test stack. Pulled two grc rectangles and a button. In one grc I set the "lockLoc" property to "true" (default is "false"), just to see if this held a clue.
In the button script:
Code: Select all
on mouseUp
put the properties of grc 1 into f1
put the properties of grc 2 into f2
combine f1 with return and comma
combine f2 with return and comma
repeat with y = 1 to the number of lines of f1
if line y of f1 <> line y of f2 then put line y of f1 & return after temp
end repeat
answer temp
end mouseUp
No surprise I get changes in such things as the rect, and the "lockLoc" change is just what I deserved. So is there no property that locks out selectability? This is useful to me, say, when a number of controls may be framed by a graphic rectangle. If I want to select several controls by dragging a selection rectangle with the pointer tool, I invariably get the grc as well. I do not want to have to drop the grc manually all the time.id,1009
layer,2
lockLoc,true
rect,22,26,142,146
???
Craig Newman