Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use a GRID for display and select only - no editi
Message
De
04/05/2000 15:27:54
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, États-Unis
 
 
À
24/04/2000 23:25:38
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00363004
Message ID:
00366276
Vues:
18
Ok Peter,

You have asked for a lot, so here goes. on your number a,b for the current mark
you can used the 'init' like so :

THIS.SetAll("DynamicBackColor",;
"IIF(MOD(RECNO( ), 2)=0,RGB(255,255,0),RGB(255,255,255))","Column")

this will give you a color code every other record in the grid.
You can used afterrowchange to highlight the complete line with the above line with a different color and no MOD.

c. You can set the grid in the properties to be read-only and that way the complete grid - all rows and all columns will be read only. Good luck

Evans Carl
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°¤º°`°º¤ø¤º°¤º°
Carl Evans
CEO & President
System Answers Consulting, Inc.
MCSD .NET, ASP.NET, C#.NET, VB.NET,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform