Basic focus issue!
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 ___ 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
Re: Basic focus issue!
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 http://monsieurx.com/taoo [EMAIL PROTECTED] wrote on 10/11/2005 13:41:21: 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 ___ 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 - To make communications with Clearstream easier, Clearstream has recently changed the email address format to conform with industry standards. The new format is '[EMAIL PROTECTED]'. Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER ___ 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
Basic focus issue - solved!
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 on focusOut set the backgroundColor of me to green --pass focusOut end focusOut on closeField set the backgroundColor of me to green --pass closeField end closeField Not figured out why exactly - but adding the mouseEnter/leave lock/ unlock bits - gets you the result you want - editable fields that you can handle their appearance as the focus changes. Just create a new stack - add one plain field - paste the scripts above - clone the field as many times as you want. Not tested in groups and complex situations - still happy for now. ___ 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
Re: Basic focus issue - slight fix!
-- 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
Re: Basic focus issue!
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 does not change the text. There are hacks for this - no? What's the best? The docs should explain: closeField is sent when the field's contents have been changed exitField is sent when the field's contents have *not* been changed Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design - E: [EMAIL PROTECTED] W: http://www.tactilemedia.com ___ 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