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
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
SftTree/NET 2.0 - Tree Control
Returns a SftTreeCell object for a given cell.
Get
| VB.NET | refCellObj = object.Cell(ByVal ColIndex As Short) As SftTreeCell |
| VB | Set refCellObj = object.Cell(ByVal ColIndex As Integer) As SftTreeCell |
| C#.NET | SftTreeCell refCellObj = object.get_Cell(short ColIndex); |
| VC++ | ISftTreeCell* refCellObj = object->Cell[short ColIndex]; ISftTreeCell* refCellObj = object->GetCell(short ColIndex); |
| C | HRESULT object->get_Cell(short ColIndex, ISftTreeCell** refCellObj); |
object
A SftTreeItem object.
ColIndex
The zero-based column number of the cell to retrieve.
refCellObj
Returns a SftTreeCell object for a given cell.
The Cell property returns a SftTreeCell object for a given cell.
The SftTreeCell object represents one cell in a SftTree/OCX control. Numerous cell-specific properties and methods can be accessed using the returned object refCellObj.
A SftTreeCell object can also be obtained through the control's Cell property.
Certain default properties and behavior for cells can be defined using the SftTreeColumn object.
};
}
private void Form1_Load(object sender, EventArgs e) {
String path = System.IO.Path.GetDirectoryName(System.IO.Path.GetDirectoryName(System.IO.Path.GetDirectoryName(Application.ExecutablePath)));
// Windows Media Player
axWindowsMediaPlayer1.URL = path + "\\intermission.wmv";
axSftTree1.get_Item(4).get_Cell(1).AttachContentWindow((int) axWindowsMediaPlayer1.Handle, SftTreeContentWindowStyleConstants.contentWindowSftTreeKeepSize);
axSftTree1.get_Item(4).get_Cell(1).Text = "";
// Web Browser
webBrowser1.Navigate("https://softelvdm.com");
SftTreeItem Item= axSftTree1.get_Item(5);
SftTreeCell Cell = Item.get_Cell(1);
Cell.AttachContentWindow((int)webBrowserPanel.Handle, SftTreeContentWindowStyleConstants.contentWindowSftTreeNone);See Also SftTreeItem Object | Object Hierarchy
