Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you enable/disable a single cell/row in a grid?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00140522
Message ID:
00140545
Views:
29
Mark,

You can control the ReadOnly property of the Column from the GotFocus() event of the Control in the Column.

Say if you want to make all even number rows ReadOnly, something like this:
this.Parent.ReadOnly = IIF(RECNO()%2=0, .T., .F.)

This one assumes that the record numbers are in sequence though.

>What is the secret (if any) to enabling or disabling a single row or cell in a grid?
>
>Thanks!
Previous
Reply
Map
View

Click here to load this message in the networking platform