>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement