General information
Category:
The Mere Mortals Framework
Title:
CTreeViewCtrl problems / questions...
1. I think this is a bug. In the init of the abstract class, the following code...
IF TYPE('This.TreeView.ImageList') == 'O'
This.TreeView.Object.ImageList = ;
This.Imagelist.Object
ENDIF
Gives me an error, whether I have something in cimagelistclass or not... I changed it to...
IF TYPE('This.ImageList.Object') == 'O'
This.TreeView.Object.ImageList = ;
This.Imagelist.Object
ENDIF
That seemed to solved the problem, but I am not sure.
2. How do I write codes for events that fire in the treeview? Since it is added programatically. Are there hooks that I can use. The only hook I see is rightclick ?
3. There is a bug in the doc for this class. It states that you can call this.addnode() to add the nodes to your treeview. When, in fact, you are supposed to call this.MFRAddNode() as seen in the sample code.
Also, it would be nice if the docs for this class were more step by step like the docs for other classes.
BOb
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only