>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.
Well you can try this :-
** For EX. you want to do read only if RECNO()%2 then,
oGrd = ThisForm.grdtemp
oGrd.SetAll("readonly", ;
"IIF(RECNO()%2 = 0,.T.,.F.)","Column")
Try this stuff. You can write in afterrowcolchange of grid.
bye Mihir Patel.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only