Writing an Outliner using Treeview lazarus / 31-LCL ---------------------------------------------------------------------- lloyde · 2014-01-26 02:53 I want to write an outliner. In the left window it would display a treeview with text-display nodes; in the right window, a rich text file associate with the currently selected node. I'm read many tutorials on treeview component and virtual treeview component, and have not found how to create a new rtf window when a new node is created. Does anyone know a tutorial or code example that shows this? Many thanks. ---------------------------------------------------------------------- taazz · 2014-01-26 03:11 1) you can use any application that has a treeview on the left and something on the right to get you started, I recommend my code snippets https://sourceforge.net/projects/codelibrarian/which is close to what you want, instead of a richview it has a synedit on the right and different highlighters. 2) you do not create a new rtf window when you change nodes you simple set the new rich text to teh existing one ee the data are changed not the render-er. ---------------------------------------------------------------------- lloyde · 2014-01-26 04:57 Thank you. And thanks for the snippets and the elegant snippet-holder.