Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selectively Disable Cells in a grid
Message
From
06/06/2000 08:59:46
 
 
To
05/06/2000 19:02:18
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00376845
Message ID:
00377158
Views:
24
I do not think I made my self clear. What I am trying to do is set the properties of cells when the grid (form)
is invoked not as data is entered. That is if certain cells already have data in them then they and related cells
cannot be changed. For example if cell 4 in row 5 has a value (which implies cell 3 also has data in it) then data
in those cells cannot be changed. In that case I would like to make cells 3 and 4 read/only (enabled = F) and
change the backcolor to grey (it is white when data can be entered). I assumed this would have to be done in
the init method of the grid since a the when method is only tirigger if user goes to that cell. This is what I am
having problem doing. A concrete example of how to do this would help. Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform