-- to prevent rapid mouse movements making rev think the target is the card or something else... -- probably even better / safer to give all the fields a custom property and check that

on mouseEnter
    put the long id of the target into focussedRecord
    if word 1 of focussedRecord is "field" then
        set the lockText of focussedRecord to false
    end if
end mouseEnter

on mouseLeave
    put the long id of the target into focussedRecord
    if word 1 of focussedRecord is "field" then
        set the lockText of focussedRecord to true
    end if
end mouseLeave
--
on openField
    put the long id of the target into focusRecord
    select_Editable true, focusRecord
    --pass focusIn
end openField

on focusIn
    put the long id of the target into focusRecord
    select_Editable true, focusRecord
    --pass focusIn
end focusIn

on focusOut
    put the long id of the target into focusRecord
    select_Editable false, focusRecord
    --pass focusOut
end focusOut

on closeField
    put the long id of the target into focusRecord
    select_Editable false, focusRecord
   --pass closeField
end closeField
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to