Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Limiting out
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00547353
Message ID:
00547478
Vues:
8
>I also have the grid highlight installed using the following notes...
>Grid Highlight:
>To have an entire grid row highlight when you select an item in that row...
>1) Create a property for the form called ngridrecno (P,no,no,Public) Set the default value to 0 in the properties other tab.
>2) In the grid init event put
>this.setall("DynamicBackColor",;
>"iif(recno()=thisform.ngridrecno,rgb(193,255,255),rgb(255,255,255))","Column")

Hi Ron,

As a side note, you might also want to change

recno()=thisform.ngridrecno

to

recno("mygridrecordsource")=thisform.ngridrecno

It is safer to always have the alias specified.
Also, you might want to take a look to my GridHighlighter class in Downloads section.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform