SftTree/OCX 7.0

SftTree.EditEnded Event

Softel vdm, Inc.

Cell editing has ended.

Syntax       

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);

Delphi

procedure objectEditEnded(Sender: TObject; Accepted : WordBool; ItemIndex : Integer; ColIndex : Smallint);

object

A SftTree object.

Accepted

True if cell editing was ended by the used by accepting the input data of the last cell being edited, False otherwise.

EditIndex

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.

Comments

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.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com