Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid back color change only for rows with records
Message
De
22/06/2005 09:15:03
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01025404
Message ID:
01025419
Vues:
20
Hi
You can set the grid back color

Put this in grid Init
nBackColor = this.BackColor 
this.BackColor = thisform.BackColor 
this.SetAll('DynamicBackColor',TRANSFORM(nBackColor),'Column')
>Hi Jaime
>
>Thanks for your quick response.
>
>>Try setting the backcolor of the grid to the same as the form,
>
>Done
>
>My adaptation, untried
>
>
>*** Grid Refresh()
>This.SetAll( "DynamicBackColor", 'IIF(!EMPTY(THIS.CURRENTCONTROL.VALUE), RGB(255,255,255), RGB(192,192,192))',"Column" )
>
>
>I may end up with fields which are empty in the filled rows with form color?
>
>Anything that works straight on the row?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform