[Project_owners] Custom TreeViews
neil at parkwaycc.co.uk
Sat Jan 8 18:23:02 EST 2005
Neil Deakin wrote:
> Andy Frank wrote:
>> I haven't had much success with discerning custom TreeViews. It
>> seems to use a constant to define the row size (not sure why) - so
>> how do you approach notifying the view that the model has changed [in
> The treeview is the model (in the mvc sense), so I'm not sure what
> you're asking here. Maybe you mean to call
> tree.boxObject.rowCountChanged to indicate that a row(s) have changed
> and thus repaint as necessary.
I assume you meant tree.treeBoxObject there; if you don't have a
reference to the tree handy (perhaps in a utility library) then
view.selection.tree also (somewhat confusingly) gives you the box object.
More information about the Project_owners