Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamically enabling/disabling a grid column
Message
From
03/08/2000 00:35:27
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00399783
Message ID:
00400230
Views:
21
Hi jim,

>I put this in the AfterRowColChange Event for the entire GRID. Is this where it is supposed to go?
>
>THIS.Setall("Readonly", !LogView.Edit)
>
>All rows are editable even though there are .F. and .T. in the Edit rows.

I don't know why this does not work, can you check if the readonly property of any textbox in the grid is indeed set to FALSE when !LogView.Edit ? Is there any other code that might overwrite these settings ?

Another strategy might be to put a THIS.readonly = !LogView.Edit in the when clause of each textbox in the grid.

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform