Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Changes In Grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01062680
Message ID:
01062692
Vues:
16
I am not sure you would be able to achieve desired result using FontUnderline and ForeColor. May be it's better to try with DynamicCurrentControl instead.

>Ok, this now works fine. Thanks Sergey & Naomi
>
>
>
>WITH This.Columns[4]
>	
>.DynamicForeColor = "IIF(WorkTable.Scanned OR WorkTable.Status = 'R', RGB(0,0,255), RGB(0,0,0))"
>.DynamicFontUnderLine = "WorkTable.Scanned OR WorkTable.Status = 'R'"
>
>ENDWITH
>
>RETURN
>
>
>
>Now, the text now sorta looks like a hyperlink, except that the underline goes
>wider than the text:
>
>
> "MyCaption_____"
>
>
>
>Also, how do I change the mouse pointer this way also?
>
>
>
>
>>You have to store expression that will be evaluated during refresh. See correction in code below.
>>
>>>I tried this code in the Grid's Init. No effect
>>>
>>>
>>This.Columns[4].DynamicForeColor = ;
>>  [IIF(WorkTable.Scanned OR WorkTable.Status = "R", RGB(0,0,255), RGB(0,0,0))]
>>>
>>>
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform