Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Row Colours
Message
De
17/12/2010 13:59:00
 
 
À
17/12/2010 10:45:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01493071
Message ID:
01493136
Vues:
58
>>Hi All,
>>
>>How do you alternate row colours in a grid when the data source uses an index? I know you use the DynamcBackColor property which I normally do use with an IIF() condition on the record number. But if the data source is indexed into non-record sequential order what can I test on for alternating rows?
>>
>>TIA
>
>
>If you're interested Jos, I can post a class and sample form that uses a side effect of the Dynamic* properties
>
>The only drawback is that the first visible row in the grid has always the same colour - if you scroll one line up/down all the colours change

Thanks Greg but I have a working solution :)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform