Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynamicBackColor in grid
Message
De
26/01/2001 15:40:31
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
26/01/2001 15:28:02
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00469202
Message ID:
00469210
Vues:
20
Chuck,

Are you sure you changed the appropriate table names (Auth), and you have set the ThisForm.nGridRecno when the record number changes (set in another method?)


>I have two forms, both have grid. One form works fine with the following codes, but when I copy/paste the codes in the "same" place on the other form, it didn't work as expected (colors the whole grid instead of supposed to be by row). The following are the codes, can you tell me what other place (properties or ??) I need to add codes:
>
>* In the main form properties
>ngridrecno (P,No,No,Public)
>
>* Grid1 InitEvent
>ThisForm.SetAll("DynamicBackColor", ;
> "IIF(RECNO('auth') =ThisForm.nGridRecno, RGB(193,255,255),"+ ;
> "RGB(255,255,255))", "Column")
>
>* Grid1 AfterRowColChangeEvent
>LPARAMETERS nColIndex
>ThisForm.nGridRecno = RECNO("auth")
>This.Refresh()
>
>* Grid1 Refresh
>DODEFAULT()
>
>I know there is Nick Neklioudov's Grid highlighter v3.6, but I have this working in one of my grid, can you guide me from here to get the other form working?
>
>Chuck
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform