SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Cell editing has ended.
| VB.NET | Private Sub object_EditEnded(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.EditEnded |
| VB | Private Sub object_EditEnded(ByVal Accepted As Boolean, ByVal ItemIndex As Long, ByVal ColIndex As Integer) |
| C#.NET | void object_EditEnded(object sender, EventArgumentType e); |
| VC++ | void OnEditEndedobject(VARIANT_BOOL Accepted, long ItemIndex, short ColIndex); |
| C | HRESULT OnEditEndedobject(VARIANT_BOOL Accepted, long ItemIndex, short ColIndex); |
object
Accepted
True if cell editing was ended by the used by accepting the input data of the last cell being edited, False otherwise.
The zero-based index of the last item being edited. The combination of EditIndex and EditCol describes an individual cell.
EditCol
The zero-based column number. The combination of EditIndex and EditCol describes an individual cell.
The EditEnded event occurs when cell editing has ended.
The EditEnded event occurs once cell editing has completely ended. If the user is editing a cell and uses cell navigation to edit another cell or clicks on another cell for editing purposes, the EditEnded event does not occur.
The EditEnded event can be used to validate multiple interrelated cells after cell editing has been completed or to prevent a user from exiting cell editing prematurely. If a cell is incomplete or invalid, cell editing can be restarted using the Cell.Edit method.
End Sub
Private Sub AxSftTree1_EditEnding(ByVal sender As Object, ByVal e As AxSftTreeLib80._DSftTreeEvents_EditEndingEvent) Handles AxSftTree1.EditEnding
Dim ctrl As Control = e.vData
ctrl.Visible = False
ctrl.Enabled = False
End Sub
Private Sub AxSftTree1_EditEnded(ByVal sender As Object, ByVal e As AxSftTreeLib80._DSftTreeEvents_EditEndedEvent) Handles AxSftTree1.EditEnded
Timer1.Enabled = True ' restart the spinning globe
End Sub
End Class
BEGIN_EVENTSINK_MAP(CVirtualDlg, CDialog)
//{{AFX_EVENTSINK_MAP(CVirtualDlg)
ON_EVENT(CVirtualDlg, IDC_SFTTREE1, 4 /* ItemClick */, OnItemClickSftTree1, VTS_I4 VTS_I2 VTS_I2 VTS_I2 VTS_I2)
ON_EVENT(CVirtualDlg, IDC_SFTTREE1, 5 /* ItemDblClick */, OnItemDblClickSftTree1, VTS_I4 VTS_I2 VTS_I2 VTS_I2 VTS_I2)
ON_EVENT(CVirtualDlg, IDC_SFTTREE1, 31 /* VirtualItem */, OnVirtualItemSftTree1, VTS_I4 VTS_DISPATCH)
ON_EVENT(CVirtualDlg, IDC_SFTTREE1, 38 /* EditInitializing */, OnEditInitializingSftTree1, VTS_PI4 VTS_PVARIANT VTS_I4 VTS_I2 VTS_PI4 VTS_PI4 VTS_PI4 VTS_PI4)
ON_EVENT(CVirtualDlg, IDC_SFTTREE1, 43 /* EditNavigating */, OnEditNavigatingSftTree1, VTS_I4 VTS_I2 VTS_I4 VTS_I2)
ON_EVENT(CVirtualDlg, IDC_SFTTREE1, 37 /* EditValidate */, OnEditValidateSftTree1, VTS_I4 VTS_VARIANT VTS_I4 VTS_I2 VTS_PBOOL)
ON_EVENT(CVirtualDlg, IDC_SFTTREE1, 40 /* EditEnded */, OnEditEndedSftTree1, VTS_BOOL VTS_I4 VTS_I2)
//}}AFX_EVENTSINK_MAP
END_EVENTSINK_MAP()
BOOL CVirtualDlg::OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
INT_PTR dmResult;
if (SftDarkMode_HandleDialogMessage(m_hWnd, message, wParam, lParam, &dmResult)) {See Also SftTree Object | Object Hierarchy
