Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use a GRID for display and select only - no editi
Message
From
04/05/2000 15:27:54
Evans Carl
System Answers Consulting, Inc
Big Lake, Minnesota, United States
 
 
To
24/04/2000 23:25:38
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00363004
Message ID:
00366276
Views:
16
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform