XML tree-view as a database frontend in Rev?

Alex Rice alex at mindlube.com
Wed Feb 11 12:04:07 EST 2004


On Feb 11, 2004, at 5:42 AM, Toma Tasovac wrote:

> Any pointers would be greatly appreciated.

Check out: Revolution/Sample Stacks/xmltree-view.rev

There is no tree-view control in Runrev. You have to create the tree 
formatting yourself using the htmlText of a field.

That's very different than in other languages where there is a 
tree-view control, and model-view-controller pattern, so the treeview 
requests the nodes it needs to display from the data source. Like in 
Cocoa one of the messages:

- (id)outlineView: (NSOutlineView *) ov objectValueForTableColumn: 
(NSTableColumn *) tableColumn byItem: (id) node

Anyways that's not exactly what you were asking.

--
Alex Rice | Mindlube Software | http://mindlube.com



More information about the use-livecode mailing list