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 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.
Get
VB.NET | Style = object.CellEditStyle As SftTreeCellEditStyleConstants |
VB | Style = object.CellEditStyle As SftTreeCellEditStyleConstants |
C#.NET | SftTreeCellEditStyleConstants Style = object.CellEditStyle; |
VC++ | enum SftTreeCellEditStyleConstants Style = object->CellEditStyle; enum SftTreeCellEditStyleConstants Style = object->GetCellEditStyle(); |
C | HRESULT object->get_CellEditStyle(enum SftTreeCellEditStyleConstants* Style); |
Put
VB.NET | object.CellEditStyle = Style As SftTreeCellEditStyleConstants |
VB | object.CellEditStyle = Style As SftTreeCellEditStyleConstants |
C#.NET | SftTreeCellEditStyleConstants object.CellEditStyle = Style; |
VC++ | enum SftTreeCellEditStyleConstants object->CellEditStyle = Style; void object->PutCellEditStyle(enum SftTreeCellEditStyleConstants Style); |
C | HRESULT object->put_CellEditStyle(enum SftTreeCellEditStyleConstants Style); |
object
Style
Defines the cell editing display style.
Style | Value | Description |
---|---|---|
cellSftTreeNormal | 0 | The 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. |
cellSftTreeAutoSize | 1 | The 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. |
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