Chuck,

I don't exactly remember when we got the abilitiy to change the colors.
I no longer use 7.5 but you can try this.

Assign your DBEdit a componentid.
Then whereever you evaluate a day for a holiday then do this.

IF vHolidayDay = 1 THEN 
  PROPERTY componentid COLOR 'YELLOW' 
ELSE
  PROPERTY componentid COLOR 'WHITE'
ENDIF

Jan

 


-----Original Message-----
From: "cdconrad" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Sun, 15 Nov 2009 14:45:18 +0700
Subject: [RBASE-L] - Form - Set one field to a color


Rbase 7.5

I have a form which records the number of hours worked per day in a week as
part of a payroll program.

I would like to change the background color of the day field to yellow if it
is a holiday without modifying the form through the design function.

I know I can create a separate form for each week where a holiday falls but
I am looking for an easier way.

Any suggestions

Chuck Conrad

 



 

Reply via email to