Well I did a simple test on a DB Edit field where ON ENTRY changed and ON 
EXIT changed, so I know it works.







From: "Myron Finegold" <[email protected]>
To: <[email protected]>
Date: Sun, 7 Jun 2020 10:38:11 -0700
Subject: RE: [RBASE-L] - DB Edit Field - Change the field background color 
based on the value in the field



Jan,

No themes.

 

Myron

 

From: [email protected] <[email protected]> On Behalf Of jan 
johansen
Sent: June 7, 2020 8:38 AM
To: [email protected]
Subject: Re: [RBASE-L] - DB Edit Field - Change the field background color 
based on the value in the field

 

Myron,

 

Just out of curiosity, are you using themes?

 

Jan

 

 

 

From: "Myron Finegold" <[email protected]>
To: <[email protected]>
Date: Sat, 6 Jun 2020 13:26:11 -0700
Subject: [RBASE-L] - DB Edit Field - Change the field background color based 
on the value in the field
 

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.

--
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/WC20200607153813.090006%40jjcalibrations.com.




--
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/017b01d63cf2%246ac49a70%24404dcf50%24%40gmail.com.

-- 
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/WC20200607183440.05000B%40jjcalibrations.com.

Reply via email to