>>FOR nCounter = 1 TO 4 >> = EVALUATE("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".Enabled = .F.") >> = EVALUATE("thisform.grid1.column"+ALLTRIM(STR(nCounter))+".text1.Enabled = .F.") >>ENDFOR >>>>
>>thisform.grid1.column1.Enabled = .F. >>* other column >>>>
>with thisform.grid1 > FOR nCounter = 1 TO 4 > .columns[m.nCounter].Enabled = .F. > ENDFOR >endwith >* for all columns you can set >thisform.grid1.Enabled = .F. && this set all columns and textboxes >Dear Fabio,
thisform.grid1.Enabled = .F. && this set all columns and textboxesuser can not scroll in grid. i want my user can scroll but can not edit values.