passing properties dinamically to foxxhart

Topics: General
Oct 27, 2009 at 5:31 PM

Hi!

I'm stuck with this problem:

for example the property of FoxChart

FIELDS(1).Color = RGB(255,0,0)

works if the color is assigned like this....but, if I hade a 10 characters sting in a variable mycolor like this:

mycolor="RGB(255,0,0)"

FIELDS(1).Color = mycolor

it doesn't work! How can I assign the color property dinamically??? thanks!

Cirollo

Coordinator
Oct 27, 2009 at 5:56 PM

Try using

          FIELDS(1).Color = Eval(mycolor)

 

Jim