Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Backcolor - Current Record
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00757947
Message ID:
00757963
Vues:
27
>Hi All
>I use DynamicBackcolor in grids like this:
>Thisform.Grid1.SetAll("DynamicBackColor", ;
> "IIF(cOrditm4.jobnum=0, RGB(255,255,255) ;
> , RGB(180,255,255))", "Column")
>I know this is the ultimate dumb question but:
>How would I do this to highlight the current record ?
>Thanks
John,
Rather than comparing
cOrditm4.jobnum=0
create a form property to hold the current record id
Thisform.ID=recno()
then compare that. Don't forget to update the form property every time the record changes.
HTH
Caroline
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform