Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamically enabling/disabling a grid column
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00399783
Message ID:
00400211
Views:
17
>Hi,
>
>>You could play with the SETALL method and the readonly property. For example you can place:
>>
>>THIS.Setall("Readonly", !Mytable.Edit)
>>in the afterrowcolchange event.
>
>
>This didn't work. It disabled the entire column, not just the row I was on.
>
>Thanks,
>
>Jim

You'd have to apply this to all collumns, and then change the setting in the AfterRowColummChange method if you want to re-enable it for other rows.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform