Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid SetAll alternate shading doesn't work!
Message
De
07/08/2000 09:44:54
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00401746
Message ID:
00401783
Vues:
21
Allan,

I tested a local view with my records in an unusual order (to get away from the natural table order) and the RECNO() is numbered sequentially.


>Hi.
>
>I'm sure you are all familiar with the SetAll example in the Help file
>
>frmMyForm.grdGrid1.SetAll("DynamicBackColor", "IIF(MOD(RECNO( ), 2)=0, RGB(255,255,255), RGB(0,255,0))", "Column") && Alternate white and green records
>
>but it doesn't work when you set an order to the table (obviously).
>
>Is there an alternative to using recno() when an order is set? It's such an obvious problem I can't believe that no-one has noticed it before.
>
>Any solution greatly received!
>
>Richard Owen - Kelworth Limited
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform