Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Bonjour Naomi,
I look the method AfterRowColChange
Occurs when the user moves to another row or column in the Grid, after the new cell gets the focus, and after the When event of the object in the new row or column. The AfterRowColChange event doesn't fire unless the When event of the object in the new row or column returns true (.T.).
I try this code in my when grid method
IF MOD( RECNO() , 2 ) = 0
RETURN .T.
ELSE
RETURN .F.
ENDIF
The complete grid is read only !
Can you give me a sample please ?
bernhart
>>Bonsoir Nick,
>>
>>All is in order.
>>I use now your class.
>>
>>I't possiBle to create a "dynamicReadOnly" For a few rows ?...:)
>>
>>
>>Bernhart
>>
>>
>
>Set grid's ReadOnly conditionally in Grid's AfterRowColChange method.
>>
Précédent
Suivant
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