|
|
|
Converting To Version 7.0 |
If you are upgrading from version 5.0 (or newer), this topic does not apply. This topic documents changes introduced with version 5.0 and is applicable only if you are upgrading from version 4.5 (or older). SftTree/OCX 5.0 and newer versions introduce many new objects, which simplify use of the control by using multiple objects instead of a single object model.
All methods and properties (even those marked "Deprecated") are still available, so it is not necessary to convert to the new object model and pre-5.0 applications can easily upgrade to 7.0 without conversion. The new object mode is however recommended for any new development.
The SftTree object represents the control. Through this object, other objects can be accessed which describe individual parts of the control. For example, the SftTreeItem object represents an individual item and its attributes. For a complete list of all available objects, please see "Object Hierarchy".
To eliminate any conversion process, SftTree/OCX 7.0 still supports the "flat" object model used by earlier versions of the product. The documentation also continues to document all methods and properties, but some are marked as "Deprecated". These should no longer be used for new development and the new "object oriented" form should be used instead.
The following is a complete list of deprecated methods and properties. You are encouraged to use the new form instead:
Old Form |
New Form |
See Cell Editing |
|
See Cell Editing |
|
See Cell Editing |
|
Column.CellHAlign |
|
n/a |
|
See Cell Editing |
|
ItemEditFont 1) |
See Cell Editing |
See Cell Editing |
|
StartCombo 1) |
See Cell Editing |
See Cell Editing |
|
StartEdit 1) |
See Cell Editing |
VirtualItem.Item.Cell.ImageHAlign |
|
VirtualItem.Item.Cell.TextHAlign |
|
VirtualItem.Item.RowHeader.ImageHAlign |
|
VirtualItem.Item.RowHeader.TextHAlign |
|
1) These methods and properties continue to be used with Internet Explorer as it does not support the new cell editing mechanisms introduced with SftTree/OCX 5.0.
See Also Object Hierarchy