Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

PostEdit Event, SftTree Object

Cell editing has ended.

Deprecated - Provided for compatibility with earlier versions only - Use EditEnded instead This event continues to be used with Internet Explorer as it does not support the new cell editing mechanisms introduced with SftTree/OCX 5.0.

Syntax

VB.NETPrivate Sub object_PostEdit(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.PostEdit
VBPrivate Sub object_PostEdit(ByVal Accepted As Boolean, ByVal ItemIndex As Long, ByVal ColIndex As Integer)
C#.NETvoid object_PostEdit(object sender, EventArgumentType e);
VC++void OnPostEditobject(VARIANT_BOOL Accepted, long ItemIndex, short ColIndex);
CHRESULT OnPostEditobject(VARIANT_BOOL Accepted, long ItemIndex, short ColIndex);

object

A SftTree object.

Accepted

Set to True if the AfterEdit event indicated that the new value is accepted (Cancel = False) or False if the user aborted cell editing using the ESCAPE key or by clicking outside of the control used for cell editing.

ItemIndex

The zero-based item index. The combination of ItemIndex and ColIndex describes an individual cell.

ColIndex

The zero-based column number. The combination of ItemIndex and ColIndex describes an individual cell.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use EditEnded instead This event continues to be used with Internet Explorer as it does not support the new cell editing mechanisms introduced with SftTree/OCX 5.0.

The PostEdit event occurs when cell editing has ended.

This event is generated if cell editing has ended normally (or after the application received an AfterEdit event and returned Cancel = False). In this case Accepted is True. If the user has aborted cell editing using the ESCAPE key or by clicking outside of the control used for cell editing, Accepted is False (an AfterEdit event was not generated).

The PostEdit 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 PostEdit event does not occur.

The PostEdit 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 StartEdit, StartCombo or StartComboEdit methods.

See Also SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.