SftTree/OCX 7.0

SftTree.CEClick Event

Softel vdm, Inc.

The selection of a combo box has changed (cell editing).

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

Syntax       

VB.NET

Private Sub object_CEClick(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.CEClick

VB

Private Sub object_CEClick(ByVal Selection As Long, ByVal ItemIndex As Long, ByVal ColIndex As Integer, ByVal CurrString As String)

C#.NET

void object_CEClick(object sender, EventArgumentType e);

VC++

void OnCEClickobject(long Selection, long ItemIndex, short ColIndex, _bstr_t CurrString);

C

HRESULT OnCEClickobject(long Selection, long ItemIndex, short ColIndex, BSTR CurrString);

Delphi

procedure objectCEClick(Sender: TObject; Selection : Integer; ItemIndex : Integer; ColIndex : Smallint; CurrString : WideString);

object

A SftTree object.

Selection

The zero-based index of the selection made in the combo box used for cell editing.  This value may be -1 if no item is selected.

ItemIndex

The zero-based index of the cell being edited.

ColIndex

The column number of the cell being edited.

CurrString

The text currently displayed by the combo box used for cell editing.

Comments

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

The CEClick event occurs when the selection of a combo box has changed (cell editing).

This event is only available if the CellEventHandling property is set to True.

The tree control properties cannot be modified during this event.  If the cell contents are modified, cell editing is terminated.  Use the AfterEdit or PostEdit events to modify the cell contents.

The combo box selection can change in response to a mouse click or keyboard input such as up or down arrow keys. The CEClick event cannot be used to end cell editing.

See Also  SftTree Object | Object Hierarchy


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