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)

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...