Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to have certain rows read-only in a grid?
Message
 
 
To
16/08/1999 13:36:41
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00254148
Message ID:
00254155
Views:
20
>I am working with VFP 3.0
>
>Is it possible in a populated grid to have certains rows (records) read-only?

In the AfterRowColChange of the grid, put your code to make the Grid read only based on whatever condition you need. Also, make sure you turn ReadOnly off if the condition is not met.
if ReadOnlyCondition_Here
   This.ReadOnly = .t.
else
   This.ReadOnly = .f.
endif
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform