On 6 Sep 2004, at 17:00, [EMAIL PROTECTED] wrote:

on openField
  global gEditFlag
  if gEditFlag then pass openField
  else select empty
end openField

To jump in here, the above worked, but made the border of the fields disappear...


so this seems to work:

you have two custom properties of the stack : the fldLock which is the editable/uneditable flag, and the fieldsToUnlock which is a list of, um, fields to unlock when the coast is clear.

on mouseEnter
if the fldLock of this stack is true then
if the name of the target contains "field" AND the lockText of the target is false then ---leaves normally locked fields alone
put the fieldsToUnlock of this stack into ftu
set the lockText of the target to true
put the long ID of the target into line (the number of lines in ftu +1) of ftu
set the fieldsToUnlock of this stack to ftu
end if
end if
end mouseEnter


--Then call this at the appropriate time:

on unLockFields
  repeat for each line L in the fieldsToUnlock of this stack
    set the lockText of L to false
  end repeat
  set the fieldsToUnlock of this stack to empty
end unLockFields



Hope this helps,


Mark _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to