>Hi Everyone,
>
>How could I control a single row from a Grid? For Example, Set a particular row to be ReadOnly = .T. while other rows are ReadOnly = .F. if specific condition is setted.
>
>Any Help is Appreciated.
>
>Steve
>
>P.S. Want to thanks both Ken Weber and Edward Pikman for their help.
Steve, you cannot set particular row to be readonly, but you can try to manipulate Grid.ReadOnly property from Grid.AfterRowColChange event, checking if the row meets your condition for being ReadOnly.
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