Jump to content
Software FX Community

Can editing of one of the columns in DataEditor be disabled so that the column can not be edited.


User (Legacy)
 Share

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 data column to be edited you can

do:

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

Integer, ByVal nPoint As Long, nRes As Integer)

If (nPoint = 1) Then

nRes = 1 ' Discard change !!

End If

End Sub

--

FP

Software FX, Inc.

--

FP

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.

Guest
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.

 Share

×
×
  • Create New...