Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable a row in a grid?
Message
 
To
30/12/1999 08:59:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00310316
Message ID:
00310344
Views:
21
>Hello everybody!
>
>Is there some method to impede the edition of a specific row in a grid according to a condition?
>
>I have attempted with this instruction in the init event of the grid
>
>This.SetAll("Enabled", lCondition, "Column")
>
>but this disables all the columns when a record completes th
>e condition.
>
>I thank any help a lot!
>
>JL

Jose, you may try to put the code into all column's textboxes When() events, so each time you are trying to edit the value in that record the textbox will disable itself.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform