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 cell is ignored for cell editing.
Get
VB.NET | Boolean = object.EditIgnore As Boolean |
VB | Boolean = object.EditIgnore As Boolean |
C#.NET | bool Boolean = object.EditIgnore; |
VC++ | VARIANT_BOOL Boolean = object->EditIgnore; VARIANT_BOOL Boolean = object->GetEditIgnore(); |
C | HRESULT object->get_EditIgnore(VARIANT_BOOL* Boolean); |
Put
VB.NET | object.EditIgnore = Boolean As Boolean |
VB | object.EditIgnore = Boolean As Boolean |
C#.NET | bool object.EditIgnore = Boolean; |
VC++ | VARIANT_BOOL object->EditIgnore = Boolean; void object->PutEditIgnore(VARIANT_BOOL Boolean); |
C | HRESULT object->put_EditIgnore(VARIANT_BOOL Boolean); |
object
A SftTreeCell object.
Boolean
Defines whether the cell is ignored for cell editing.
Boolean | Description |
---|---|
True | The cell is ignored for cell editing. It cannot be edited using the Cell.Edit method and the EditNavigate method will skip this cell. |
False | The cell can be edited, unless editing is prevented by the Item.EditIgnore property. |
The EditIgnore property defines whether the cell is ignored for cell editing.
Item.Cell(1).Text = "2nd Column (can't edit this item)" Item.Cell(2).Text = "3rd Column (can't edit this item)" ItemIndex = AxSftTree1.Items.Add("A fourth item") Item = AxSftTree1.get_Item(ItemIndex) Item.Level = 1 Cell = AxSftTree1.get_Cell(ItemIndex, 1) Cell.Text = "This cell can't be edited" Cell.EditIgnore = True Cell.Image.Appearance = SftPictureImageConstants.sftImageCheckboxYes AxSftTree1.get_Cell(ItemIndex, 2).Text = "3rd Column" Next AxSftTree1.ColumnsObj.MakeOptimal() AxSftTree1.RowHeaders.MakeOptimal() AxSftTree1.Items.RecalcHorizontalExtent()
Item.Cell(1).Text = "2nd Column (can't edit this item)" Item.Cell(2).Text = "3rd Column (can't edit this item)" ItemIndex = SftTree1.Items.Add("A fourth item") Set Item = SftTree1.Item(ItemIndex) Item.Level = 1 Set Cell = SftTree1.Cell(ItemIndex, 1) Cell.Text = "This cell can't be edited" Cell.EditIgnore = True Cell.Image.Appearance = sftImageCheckboxYes SftTree1.Cell(ItemIndex, 1).EditIgnore = True SftTree1.Cell(ItemIndex, 2).Text = "3rd Column" Next SftTree1.ColumnsObj.MakeOptimal
Item.get_Cell(1).Text = "2nd Column (can't edit this item)"; Item.get_Cell(2).Text = "3rd Column (can't edit this item)"; ItemIndex = axSftTree1.Items.Add("A fourth item"); Item = axSftTree1.get_Item(ItemIndex); Item.Level = 1; Cell = axSftTree1.get_Cell(ItemIndex, 1); Cell.Text = "This cell can't be edited"; Cell.EditIgnore = true; Cell.Image.Appearance = SftPictureImageConstants.sftImageCheckboxYes; axSftTree1.get_Cell(ItemIndex, 2).Text = "3rd Column"; } axSftTree1.ColumnsObj.MakeOptimal(); axSftTree1.RowHeaders.MakeOptimal();
pItem->Cell[1]->Text = _T("2nd Column (can't edit this item)"); pItem->Cell[2]->Text = _T("3rd Column (can't edit this item)"); ItemIndex = m_vTree->Items->Add(_T("A fourth item")); pItem = m_vTree->Item[ItemIndex]; pItem->Level = 1; pCell = m_vTree->Cell[ItemIndex][1]; pCell->Text = _T("This cell can't be edited"); pCell->EditIgnore = VARIANT_TRUE; pCell->Image->Appearance = sftImageCheckboxYes; m_vTree->Cell[ItemIndex][2]->Text = _T("3rd Column"); } m_vTree->ColumnsObj->MakeOptimal(); m_vTree->RowHeaders->MakeOptimal();
See Also SftTreeCell Object | Object Hierarchy