Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CTreeViewCtrl problems / questions...
Message
From
30/07/1998 17:31:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
CTreeViewCtrl problems / questions...
Miscellaneous
Thread ID:
00122880
Message ID:
00122880
Views:
42
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
Map
View

Click here to load this message in the networking platform