Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hyperlink from a grid column
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00223601
Message ID:
00224523
Vues:
27
>>> .DynamicForeColor = ;
>>> "IIF(RECNO()==this.nrecno,"+;
>>> "RGB(255,255,255),RGB(0,0,0))"
>>>How could I make this code make all columns having fontunderline = .T. appear in blue color (RGB(0,0,255)?
>>
>>I think those Setalls are disturbing your colors, you may have to remove them or overwrite them, maybe, with individual column colors...I think that's what you mean?
>
>What I'm trying to say is: Is there a way to use Dynamicforecolor to set individual column color based on the value of a column property?

I'm not sure if there is...what I do for this (and other reasons) is to keep a logical field that indicates whether the cells should be underlined, forecolor changed, etc. It's the same thing you're trying to do, I think, but less complicated as far as IIF and dynamic code, since you can use a table/cursor value for the dynamic settings. Do you see what I'm trying to say?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform