Hi all,

I want to apply formatting to a field - 'set the borderColor of fld 1 to
black',
depending if the field has focus or not. The conditions apply to field 1
only.

Here's the condition for the field when tabbing between 2 fields:
If the field has focus, it's borderColor is black.
If the field loses focus, the bordColor is white.

Here's the condition for field 1 when mousing over and out of it, and when
field 1 has focus:
If the field has focus, don't change the borderColor. It stays black.
If the field is not focused, then change the borderColor to white.

So far I've tried scripts in the following handlers:
mouseEnter, mouseLeave, openField, exitField, and closeField.
And I'm not getting the result I want.

Anyone got any tips on how to do this?

To see it work, open Outlook and click on the Find toolbar button. 
It opens the find fields at the top of the email list.
Apply the behavior as above to see the results I'm looking for.
This is on Windows, and I'm not sure how Mac Outlook behaves.

Regards,
Mark Stuart
-- 
View this message in context: 
http://www.nabble.com/conditionally-formatting-a-field-tp21067108p21067108.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to