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 item 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 SftTreeItem object.
Boolean
Defines whether the item is ignored for cell editing.
Boolean | Description |
---|---|
True | All cells of this item are ignored for cell editing. They cannot be edited using the Cell.Edit method and the EditNavigate method will skip this item and all its cells. |
False | This item and all its cells can be edited, unless editing is prevented by a cell's Cell.EditIgnore property. |
The EditIgnore property defines whether the item is ignored for cell editing.
Item = AxSftTree1.get_Item(ItemIndex) Item.Level = 1 Item.Cell(1).Text = "2nd Column" Item.Cell(2).Text = "3rd Column" ItemIndex = AxSftTree1.Items.Add("This item can't be edited") Item = AxSftTree1.get_Item(ItemIndex) Item.Level = 2 Item.EditIgnore = True Item.Cell(0).Image.Appearance = SftPictureImageConstants.sftImageCheckboxYes 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
Set Item = SftTree1.Item(ItemIndex) Item.Level = 1 Item.Cell(1).Text = "2nd Column" Item.Cell(2).Text = "3rd Column" ItemIndex = SftTree1.Items.Add("This item can't be edited") Set Item = SftTree1.Item(ItemIndex) Item.Level = 2 Item.EditIgnore = True Item.Cell(0).Image.Appearance = sftImageCheckboxYes 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
Item = axSftTree1.get_Item(ItemIndex); Item.Level = 1; Item.get_Cell(1).Text = "2nd Column"; Item.get_Cell(2).Text = "3rd Column"; ItemIndex = axSftTree1.Items.Add("This item can't be edited"); Item = axSftTree1.get_Item(ItemIndex); Item.Level = 2; Item.EditIgnore = true; Item.get_Cell(0).Image.Appearance = SftPictureImageConstants.sftImageCheckboxYes; 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;
pItem = m_vTree->Item[ItemIndex]; pItem->Level = 1; pItem->Cell[1]->Text = _T("2nd Column"); pItem->Cell[2]->Text = _T("3rd Column"); ItemIndex = m_vTree->Items->Add(_T("This item can't be edited")); pItem = m_vTree->Item[ItemIndex]; pItem->Level = 2; pItem->EditIgnore = VARIANT_TRUE; pItem->Cell[0]->Image->Appearance = sftImageCheckboxYes; 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;
See Also SftTreeItem Object | Object Hierarchy