Basic focus issue!

David Bovill david at openpartnership.net
Thu Nov 10 07:41:21 EST 2005


Not that i am not focussed or anything - just these pesky Rev fields :)

With the Address Book I am trying to deal really properly with their  
edibility - click on them and they change appearance (come to the  
front) click elsewhere and they fade back into the background. The  
problem with closefield is that it is not sent if the user does not  
change the text. There are hacks for this - no? What's the best?

Been trying to get it to work with the following messages - at  
various places - but having a problems - any solutions out there?

on focusIn
     select_Editable true
   -- pass focusIn
end focusIn

on openField
     select_Editable true
     pass openField
end openField

on focusOut
     select_Editable false
     pass focusOut
end focusOut

on closeField
     select_Editable false
     pass closeField
end closeField





More information about the use-livecode mailing list