Jump to content
Software FX Community

Can editing of one of the rows in DataEditor be disabled so that the row can not be edited.

User (Legacy)

Recommended Posts

You can do this by trapping the ChangeValue event and deciding on a

cell-by-cell basis whether or not that cell should be edited.

For example, if you don't want the second series to be edited (second data

row) you can do:

Private Sub ChartFX1_ChangeValue(ByVal dValue As Double, ByVal nSerie As

Integer, ByVal nPoint As Long, nRes As Integer)

If (nSerie = 1) Then

nRes = 1 ' Discard change !!

End If

End Sub



Software FX, Inc.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...