Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CEKeyUp Event, SftTree Object

A key has been released (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 5.0.

Syntax

VB.NETPrivate Sub object_CEKeyUp(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.CEKeyUp
VBPrivate Sub object_CEKeyUp(Key As Long, ByVal Shift As Integer, ByVal ItemIndex As Long, ByVal ColIndex As Integer, ByVal CurrString As String)
C#.NETvoid object_CEKeyUp(object sender, EventArgumentType e);
VC++void OnCEKeyUpobject(long* Key, short Shift, long ItemIndex, short ColIndex, _bstr_t CurrString);
CHRESULT OnCEKeyUpobject(long* Key, short Shift, long ItemIndex, short ColIndex, BSTR CurrString);

object

A SftTree object.

Key

The key code. This value can be set to 0 to suppress the key from being processed by SftTree/OCX. The key codes are defined by the development tool used. For Visual Basic, key code examples are vbKeyF1 (the F1 key), for Visual C++ VK_UP (the up arrow key).

Shift

The state of the SHIFT, CONTROL and ALT keys during the event. A bit is set if the key is down. The Shift argument is a bit field with bits corresponding to the SHIFT, CONTROL and ALT keys. The Shift variable indicates the state of these keys. Some, all, or none of the bits can be set, indicating which of the keys are pressed.

ShiftValueDescription
constSftTreeShiftMask1The SHIFT key was pressed.
constSftTreeCtrlMask2The CONTROL key was pressed.
constSftTreeAltMask4The ALT key was pressed.

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 edit control or 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 5.0.

The CEKeyUp event occurs when a key has been released (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 Key typed by the user can be suppressed by setting Key to 0. It can be modified by assigning a new value to the variable.

See Also SftTree Object | Object Hierarchy


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