Hi everyone, I have been using S Grid in my app and its been working great. Now I am trying to do something though I havent done before with SGrid, editing the cells. In the new grid I have created I have 2 columns. One column shows the titles/captions and the other is all the cells that I want to editable. I set the grid Editable property to true and I have the following code:
When I run the project and if I click anywhere on the grid I get the following error: "Assignment to constant not permitted"..VB Code:
Private Sub DetailsGrid_SelectionChange(ByVal lRow As Long, ByVal lCol As Long) If lCol = 2 Then DetailsGrid.StartEdit(lRow, lCol) = True End If End Sub
Any Suggestions?? Thanx everyone for the help!




Reply With Quote