Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CellEditStyle Property, SftTree Object

Defines the cell editing display style.

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.

Syntax

Get

VB.NETStyle = object.CellEditStyle As SftTreeCellEditStyleConstants
VBStyle = object.CellEditStyle As SftTreeCellEditStyleConstants
C#.NETSftTreeCellEditStyleConstants Style = object.CellEditStyle;
VC++enum SftTreeCellEditStyleConstants Style = object->CellEditStyle;
enum SftTreeCellEditStyleConstants Style = object->GetCellEditStyle();
CHRESULT object->get_CellEditStyle(enum SftTreeCellEditStyleConstants* Style);

Put

VB.NETobject.CellEditStyle = Style As SftTreeCellEditStyleConstants
VBobject.CellEditStyle = Style As SftTreeCellEditStyleConstants
C#.NETSftTreeCellEditStyleConstants object.CellEditStyle = Style;
VC++enum SftTreeCellEditStyleConstants object->CellEditStyle = Style;
void object->PutCellEditStyle(enum SftTreeCellEditStyleConstants Style);
CHRESULT object->put_CellEditStyle(enum SftTreeCellEditStyleConstants Style);

object

A SftTree object.

Style

Defines the cell editing display style.

StyleValueDescription
cellSftTreeNormal0The edit control or combo box used for cell editing is sized to fit exactly within the cell being edited. This may clip the text displayed in the control. The ItemEditFont property can be used to reduce the size of the font used.
cellSftTreeAutoSize1The edit control or combo box used for cell editing is sized automatically to fit the text based on the font used for cell editing (see ItemEditFont). The control may extend beyond the borders of the cell being edited.

Comments

The CellEditStyle property defines the cell editing display style.

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.

When using a CellEditStyle of cellSftTreeNormal, the text in the edit control or combo box control may be clipped vertically if it is too large to fit within the control. The control is sized to fit exactly within the cell being edited.

If cellSftTreeAutoSize is used, the control is adjusted based on the ItemEditFont property, so the text is not clipped. However, the control may exceed the boundaries of the cell being edited.

The CellEditStyle 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


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.