Basic focus issue!

2005-11-10 Thread David Bovill
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

Re: Basic focus issue!

2005-11-10 Thread xavier . bury
Hi David You could add a background script handler that you trigger on any focusIn to send a focusout message to the other fields... Since you know when focusin or openfield happens, you can easily send the focus out to that last field recorded (in a global or custom prop...) cheers Xavier

Basic focus issue - solved!

2005-11-10 Thread David Bovill
on mouseEnter set the lockText of me to false end mouseEnter on mouseLeave set the lockText of me to true end mouseLeave on openField set the backgroundColor of me to red --pass focusIn end openField on focusIn set the backgroundColor of me to red --pass focusIn end focusIn

Re: Basic focus issue - slight fix!

2005-11-10 Thread David Bovill
-- 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

Re: Basic focus issue!

2005-11-10 Thread Scott Rossi
Recently, David Bovill wrote: 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