Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook2003Bar, Vista and Office 2007
Message
 
À
19/04/2007 12:10:59
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01215431
Message ID:
01218223
Vues:
13
Emerson,
Sorry I have been scarce this week. As I told you before I have a treeview control I have been working to be used with Outlook2003Bar. I hope to get it finished today. It hasn't been too hard but I have had some headaches getting it to size properly within the Outlook2003Bar.Panes especially after the splitter.split() fires. It kept sizing a bit too short but I have it now. It looks very good. For every pane in OutLook2003Bar.Panes I call the AddObject() method and Now I have a gorgeous control that supports TreeView navigation of database records in your control.

I have used the ctTree.ocx from dbi-tech as my base treeview but I am going to modify the class to use the Native windows Treeview, this way it can be distributed freely. Once I finish it up I'd love for you to give it a try, I designed it specifically for use with Outlook2003Bar and I think it makes an excellent addition to the control. It also works very well outside of the Outlook2003Bar, just drop it on any form. Do you think anyone would be interested in an easy to use and implement Treeview Class?

So far I have these methods coded:

AddNode() : Adds a Root node to the Control
AddChildNode() : Adds a Child to the Node Specified by input parameter.
DeleteNode() : Delete specified Node
MoveNode() : Changes the Nodes position in the control heiarchy.
ClearNodes() : Removes all nodes from the control.
SetNodeImage() : Sets the image for a specified node.
GenMenu() : Generates the right click menu for the control.

To be implemented:

SaveToXml(): Saves the Nodes to an Xml File
LoadFromXml() : Loads nodes from an Xml File
SaveState() : Saves the expanded / collapsed state of each node
LoadState(): Loads the expanded / collapsed state of each node

What other functionality would you think is needed? I want the control to be robust but I also want to keep it simple for developers to use.

I will post some screen shots of the control in action hosted within the Outlook2003Bar today!
Woodie Westbrook
I came, I saw, I compiled.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform