Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting Color Property Values to Text
Message
 
 
To
14/08/2002 07:26:55
Herb Ellerbock
Customized Computer Systems
Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00689475
Message ID:
00689507
Views:
24
RGB() function returns a number that represents the color. You can use this number directly w/o converting to RGB().
mygrid.DynamicBackColor = "IIF(something, " + ;
  TRANSFORM(Thisform.text1.ForeColor) + ", " + ;
  TRANSFORM(Thisform.text1.BackColor) + ")"
>Hello Everybody,
>
>I want to set the DynamicForeColor and DynamicBackColor Properties in a grid to the ForeColor and BackColor Properties of another object. This requires me to convert the ForeColor and BackColor Properties to text, e.g. RGB(0,0,128) to 'RGB(0,0,128)'.
>
>I would appreciate any help with how this can be done?
>
>Thanks,
>Herb
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform