Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>If your record order within a grid control is not in record number order is there anyway of alternating the background colour of each line in the grid?
>You can use the dynamiccolorproperty of grid's column.
It sounds like the problem is not what mechanism to use, but how to guarantee an alternating colorband. Typically: dynamicbackgroundcolor = IIF(recno()%2=0,color1,color2) If the index has the records sorted 1,3,5,2,4,7,6, then it causes an undesired result.
Is there a way to determine the relative row of the grid within the dynamicbackgroundcolor?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement