N/APosted on - 11/26/2013
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
Microsoft Visual FoxPro random backcolor
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.