XMLTree/X


Version: 1.00.002
Size:
1.05MB
Category:
Development
Active X
Requirements:
No special requirements
Price:
$149.00
System:
Windows 98/ME/NT/2000
Rating:
4.7
License:
Demo

Description - XMLTree/X



The XMLTree/X control combines a List control with a Tree control. You can use the XMLTree/X control as an advanced List control, or as an advanced Tree control, or a Combination of both at the same time. The control allows displaying a hierarchy with root nodes, and, you can use columns in the same time. The control provides both a Columns and an Items collection.?The Columns collection allows the user to add, remove or access any XMLTree/X column. The Items collection enables the user to insert, remove or access items in the XMLTree/X hierarchy. No matter what format you choose to display data using XMLTree/X, you also have access to a number of collections, properties, and methods that control the way individual cells are formatted.The XMLTree/X control provides LoadXML and SaveXML methods, plus an XML property. The control uses two methods to display the XML contents. The XMLNodeName Property determines how the nodes of the XML Source are loaded.?The first mode of loading nodes is used when the XMLNodeName property is empty. This mode displays the XML node using more than one item. In that case, the Load method will add exactly two columns: "Nodes" and "Values". The "Nodes" column contains the name of the nodes, and the "Values" column contains the value of the nodes. The second mode of loading nodes is used when the XMLNodeName Property is not empty. This mode displays the XML node using only one item. In that case the Load method looks for the XMLNodeName node in the child nodes of the root node. When the node is found, the Load method looks for all its descendents, and for each descendent node found it adds a new column to the XMLTreeXColumns collection. When a node of XMLNodeName name is found as a child of another node of the XMLNodeName name, a new item is added. Each cell in XMLTree/X may contain a caption, radio button or check Box, and image, or a button.?The cell`s font attributes, background, and foreground colors can be controlled as well.?Each Cell has a CellSingleLine property which when False allows cells to display text using more than one row.?Cells also have a CellData property that can be used to store any Variant data (Objects, longs, Boolean, anything). This value is not used by the control; it is for the convenience of the user. The end users may edit cells if the EnableCell property is True. Radio button cells can easily be grouped using a Group Identifier.?The Items collection has a method named CellRadioGroup that can be used to assign any, or all, cells to a column-group.?Later



More in Active X-XMLTree/X

Items Collection Load Method Xml Node Using