At 04:12 PM 4/17/2005, Doug Hamilton wrote:

What am I missing?  Are the form colors limited to the
named colors listed in the RDOCS PROPERTY command?

--Custom EEP to print a form
--Get current form color
GETPROPERTY RBASE_FORM COLOR 'vFormColor'

--Change form color to white and print the form
PROPERTY RBASE_FORM COLOR 'white'
PROPERTY RBASE_FORM PRINT 'PRINTER'

--Restore form color to original color
PROPERTY RBASE_FORM COLOR '.vFormColor'
RETURN


Doug,

In your last line, to change the color PROPERTY to
its original value, you need to use the variable
value without being enclosed in quotes.

Here's how:

PROPERTY RBASE_FORM COLOR .vFormColor
RETURN

That's all there is to it!

Enjoy and make sure to have fun.

Very Best R:egards,

Razzak.



Reply via email to