Component Questions lazarus / 31-LCL ---------------------------------------------------------------------- James_Parsons · 2014-04-21 12:27 I have been messing around for a while, and I have a few questions on some of the LCL controls. 1. The TShellTreeView, can it be used to create an IDE like file browser? How do I use it? 2. Can I Define my own language for a SynEdit Control? 3. Can I redirect CMD output to some sort of text box control? If it is not obvious here, I am trying to write my own IDE, and Lazarus seemed to be the most convenient tool available. ---------------------------------------------------------------------- exdatis · 2014-04-21 12:34 Quote from: James_Parsons on April 21, 2014, 02:27:50 pmI have been messing around for a while, and I have a few questions on some of the LCL controls. 3. Can I redirect CMD output to some sort of text box control? http://wiki.lazarus.freepascal.org/Executing_External_Programs#Reading _large_output ---------------------------------------------------------------------- exdatis · 2014-04-21 12:36 Quote from: James_Parsons on April 21, 2014, 02:27:50 pmI have been messing around for a while, and I have a few questions on some of the LCL controls. 1. The TShellTreeView, can it be used to create an IDE like file browser? How do I use it? http://wiki.freepascal.org/TShellListView http://wiki.freepascal.org/Shell_Controls ---------------------------------------------------------------------- howardpc · 2014-04-21 12:50 There's also a short example of its use at  .../lazarus/components/fpvectorial/examples/fpcorelexplorer.lpi ---------------------------------------------------------------------- engkin · 2014-04-21 13:25 Quote from: James_Parsons on April 21, 2014, 02:27:50 pm2. Can I Define my own language for a SynEdit Control? I would recommend using Edson's Scriptable Highlighter. ---------------------------------------------------------------------- Martin_fr · 2014-04-21 15:53 Quote from: engkin on April 21, 2014, 03:25:31 pmQuote from: James_Parsons on April 21, 2014, 02:27:50 pm2. Can I Define my own language for a SynEdit Control? I would recommend using Edson's Scriptable Highlighter. a) The above (probably the beast (ready to use, and powerful) b) in the folder examples/SynEdit in your lazarus installation are examples for SynAnyHighlighter and SynPosHighlighter (both very basic, and probably not enough for what you want) c) Maybe there is one here: http://bugs.freepascal.org/view.php?id=18248 d) Write your own: http://wiki.lazarus.freepascal.org/SynEdit_Highligh ter#Creating_a_SynEdit_Highlighter e) There also is SynUniSyn, but it is not maintained and not currently working. Help fixing it, and you can use it.