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
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether the application handles cell editing events.
Deprecated - Provided for compatibility with earlier versions only - See Cell Editing - This property continues to be used with Internet Explorer as it does not support the new cell editing mechanisms introduced with SftTree/OCX 5.0.
Get
VB.NET | Boolean = object.CellEventHandling As Boolean |
VB | Boolean = object.CellEventHandling As Boolean |
C#.NET | bool Boolean = object.CellEventHandling; |
VC++ | VARIANT_BOOL Boolean = object->CellEventHandling; VARIANT_BOOL Boolean = object->GetCellEventHandling(); |
C | HRESULT object->get_CellEventHandling(VARIANT_BOOL* Boolean); |
Put
VB.NET | object.CellEventHandling = Boolean As Boolean |
VB | object.CellEventHandling = Boolean As Boolean |
C#.NET | bool object.CellEventHandling = Boolean; |
VC++ | VARIANT_BOOL object->CellEventHandling = Boolean; void object->PutCellEventHandling(VARIANT_BOOL Boolean); |
C | HRESULT object->put_CellEventHandling(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the application handles cell editing events.
Boolean | Description |
---|---|
True | If the user clicks a mouse button outside of the cell being edited, the AfterEdit event is generated. This allows the application to perform input validation and other cleanup processing. If Cancel = False, the text selected replaces the cell's text. If Cancel = True, cell editing is not ended. The ENTER or TAB keys do not end cell editing and must be handled by the CEKeyDown or CEKeyPress event. Using these events, an application can implement cell motion, moving from one cell to the next in response to keystrokes. |
False | If the user clicks a mouse button outside of the cell being edited or presses the TAB or ENTER key, the AfterEdit event is generated. This allows the application to perform input validation and other cleanup processing. If Cancel = False, the text selected replaces the cell's text. If Cancel = True, cell editing is not ended. |
Deprecated - Provided for compatibility with earlier versions only - See Cell Editing - This property continues to be used with Internet Explorer as it does not support the new cell editing mechanisms introduced with SftTree/OCX 5.0.
The CellEventHandling property defines whether the application handles cell editing events.
CellEventHandling affects the handling of ENTER and TAB keys. The ESCAPE key is not affected. If the user presses the ESCAPE key, cell editing is ended and the original cell text is restored. An AfterEdit event is not generated. Any data the user entered or selected is lost. Once cell editing has ended (or was aborted by the user), the PostEdit event is generated.
The CellEventHandling property is used for the edit control and combo box when editing cells using the StartEdit, StartComboEdit and StartCombo methods. It is not used for cell editing started using the Cell.Edit method.
See Also SftTree Object | Object Hierarchy