Microsoft Visual FoxPro random backcolor

Asked By 60 points N/A Posted on -
qa-featured

HI techyv experts,

I am using Microsoft Visual FoxPro, for background in that I am using .hti backcolor program. I need Visual FoxPro random backcolor codec. Please guide me by providing me the step by step procedure for the random backcolor codec in .hti.

Thanks in advance from,

James D Costanza

SHARE
Answered By 0 points N/A #193091

Microsoft Visual FoxPro random backcolor

qa-featured

Hello,
The following are the codes that you should use in specifying the background and foreground color of a text or an object.
Object.BackColor[ = nColor] Object.ForeColor[ = nColor]
For dynamic backcolor this.DynamicBackColor = "iif( recno() % 2 = 0, rgb(255,255,255), rgb(128,255,128) )"
nColor denotes the specific color you would like to use and it represented by a series of numbers. The following table list the some common colors with its corresponding nColor.

Related Questions