Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Substitution & Grids
Message
From
24/01/2002 20:38:44
 
 
To
24/01/2002 19:35:23
N. Lea
Nic Cross Enterprises
Valencia, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00610214
Message ID:
00610239
Views:
16
I think the property is expecting for a single number value that represents the color.

Are you doing something like the following?
lcBackColor = "RGB(255,255,255)"
Grid.Column1.DynamicBackColor = &lcBackColor
I haven't tested it but think I remember from creating a class way back that you should probably let the RGB() function execute:
Grid.Column1.DynamicBackColor = RGB(255,255,255)

or 

lnBackColor = RGB(255,255,255)
Grid.Column1.DynamicBackColor = lnBackColor
I'm not sure this will work but just something off the top of my head.

Aloha,

James


>Can anyone help me. I am trying to use macro substituion in my form that has a grid. My grid needs to have particular backcolor in the dynamic mask. I attempted to use the macro sub, but it tells me invalid data type for this field. Can anyone help me. Thanks!
Previous
Reply
Map
View

Click here to load this message in the networking platform