Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid.setall & controlsource
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00235995
Message ID:
00236006
Views:
17
>I would like to set the readonly = .t. for all columns in a grid, except one. I tried something like:
>
>ohere.mygrid.setall("readonly", this.controlsource # "myfield", "Column")
>
>It doesn't work. Is there another way to do it?

You can just do a Setall for the majority, and then over-ride the one or two exceptions with an explicit setting of the property in the next code line...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform