Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help on grid-box
Message
From
28/08/2000 15:44:33
 
 
To
28/08/2000 15:35:31
Richard Williams
State of Ohio, Dept. of Development
Columbus, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00409961
Message ID:
00409970
Views:
19
>Can anyone tell me if I can make all but one field in a grid readonly. It would appear that my choices are all or none. Thanks Rick

Set the grid.ReadOnly = .F.

Then each column may be set independently.
What may be easiest is this - at design time.
Modify the form or class containing the grid.
Select just the grid.
In the command window enter each of these lines.
(Note: this assumes 1st column - use the one you need)
ASELOBJ(lax)
lax[1].ReadOnly = .F.
lax[1].SetAll("ReadOnly",.T.,"Column")
lax[1].Column1.ReadOnly=.F.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Reply
Map
View

Click here to load this message in the networking platform