Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlighting the current row in grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00358923
Message ID:
00360611
Vues:
12
Hi Erik:

Below are my dynamic color proerties in the INIT of my grid class.

Using ABS() on recno() in the afterrowchange event got it to work. It appears that if recno() and this.currecno are both negative, they will evaluate true in the dynamic color properties regardless of their value. This is obviously not right, is there some evironmental setting or number comparison thing I'm overlooking?

.SETALL('DYNAMICBACKCOLOR', 'IIF(RECNO() = THIS.CurRecNo, RGB(0,0,128), RGB(255,255,255))', 'COLUMN')

.SETALL('DYNAMICFORECOLOR', 'IIF(RECNO() = THIS.CurRecNo, RGB(255,255,255), RGB(0,0,0))', 'COLUMN')

Thanx,
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform