Dynamicly add/remove DCTREE items

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
jdsoft
Posts: 113
Joined: Thu Jan 28, 2010 1:13 pm
Location: Overberg
Contact:

Dynamicly add/remove DCTREE items

#1 Post by jdsoft »

Hello,
I start to use DCTREEROOT and DCTREEITEM.
I managed updating the icon/caption at runtime.
How can i insert new DCTREEITEM or remove an existing DCTREEITEM in the middle of the tree at runtime?
Regards,
Jack Duijf
Regards,
Jack Duijf

User avatar
rdonnay
Site Admin
Posts: 4733
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Dynamicly add/remove DCTREE items

#2 Post by rdonnay »

\exp20\source\dchelp\_dcxhelp.prg contains a context-help system that supports both inserting and deleting tree items from a right click menu.

Have you looked at that source code?

Also run \exp20\samples\helptest.exe to see how it works.
The eXpress train is coming - and it has more cars.

Post Reply