Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting Color Property Values to Text
Message
 
 
À
14/08/2002 07:26:55
Herb Ellerbock
Customized Computer Systems
Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00689475
Message ID:
00689507
Vues:
26
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform