What Object: DB Edit Field

Desire: to the background color change based on the value in the column.
This will be a 'Y' or an 'N'.

 

The DB Edit field has been given a unique component ID. ciLockBox

 

A custom EEP has been put into the 'On Enter' choice

   PROPERTY ciLockBox COLOR 'white'

   RETURN

 

A custom EEP has been put into the 'On Exit' choice

   SET VAR vwatch1 TEXT = NULL

   GETPROPERTY cilockbox TEXTVALUE vwatch1

   IF vwatch1 IS NULL THEN

    RETURN

   ENDIF

  IF cilockbox = 'Y' THEN

  PROPERTY cilockbox COLOR 'green'

  ELSE

  PROPERTY cilockbox COLOR 'red'

  ENDIF

  RETURN

 

This isn't working. As they say I have hit the wall. Any suggestions would
be appreciated.

 

Myron Finegold

Sheriff's Posse of Sun City West

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/00a601d63c40%24b8fc3c00%242af4b400%24%40gmail.com.

Reply via email to