Own application with Lazarus designer inside lazarus / 10-Designer ---------------------------------------------------------------------- vladvons · 2012-05-19 07:26 I want to write application which produce LFM files using lazarus form builder. Is it possible somehow to include Lazarus form builder to own application? I found only property editor TIPropertyGrid component. Please give me direction Thanks people ---------------------------------------------------------------------- Leledumbo · 2012-05-19 08:42 http://sourceforge.net/projects/jvruntimedesign/ ---------------------------------------------------------------------- vladvons · 2012-05-19 20:00 Thanks, but i dont need to use JavaScript engine at all. I want only work with native Lazarus LCL properties. End user should make some forms itself without Lazarus IDE. They can put components on form, set some properties using RTTI etc and generate LFM file. Here is a project (costs 190 €uro), but use only Delphi form designer http://www.econtrol.ru/formdsn.html Is it possible to make something with Lazarus sources or components? ---------------------------------------------------------------------- DirkS · 2012-05-19 22:17 Quotebut i dont need to use JavaScript engine at all.JavaScript??? Did you actually have a look at that project? Gr. Dirk. ---------------------------------------------------------------------- vladvons · 2012-05-20 06:33 Sorry, i confused given links. It seems TJvDesignPanel, TJvDesignSurface are copmponents from JEDI project exactly what i need. Thanks ---------------------------------------------------------------------- teos · 2012-08-25 20:23 I have used ElDesigner components for design and Object Inspector. I think these are much better useable than the Jedi ones. But what I miss is the JVFormRunner and JVInterpreter for Lazarus, because your forms then could not only be runned but also the code could be adapted.. ---------------------------------------------------------------------- vladvons · 2013-03-29 05:54 To run runtime pascal code with form i use 'paxcompiler' http://www.paxcompiler.com ---------------------------------------------------------------------- vladvons · 2013-06-10 07:44 Quote from: Leledumbo on May 19, 2012, 10:42:07 amhttp://sourceforge.net/projects/jvruntimedesign/ I tried example from jvRuntimeDesigner. Its too simple for my purpose or i don`t understand something. Is it possible to implement native Lazarus powerful form designer class TDesigner (c:\Lazarus\designer\designer.pp) into my application ? Such output i want to have in my app: http://download.oster.te.ua/Persistent/LazDesign.png It should have minimum: - horizontal/vertical line allignment to next component - snap to grid - object inspector - default event click handler   Is there any examples, documentation, SDK etc. for Lazarus form designer internals? Please give me direction ---------------------------------------------------------------------- BigChimp · 2013-06-10 07:57 No idea if the IDE will work as you intend, but: please search the wiki and look at the source code. E.g. http://wiki.lazarus.freepascal.org/Extending_the_IDE ---------------------------------------------------------------------- vladvons · 2013-06-10 14:06 The one true way to understand how it works without documentation is to trace Lazarus IDE Designer source code. Is it possible to use Lazarus to trace Lazarus itself as usual project with all dependencies? Where is main  entry point? ---------------------------------------------------------------------- Leledumbo · 2013-06-10 14:51 QuoteIs it possible to use Lazarus to trace Lazarus itself as usual project with all dependencies? Where is main  entry point?Yes, open the respective .lpi inside ide folder. ---------------------------------------------------------------------- JuhaManninen · 2013-06-10 17:58 Quote from: vladvons on June 10, 2013, 09:44:11 amIs it possible to implement native Lazarus powerful form designer class TDesigner (c:\Lazarus\designer\designer.pp) into my application ? Not realistic. About how to study its source code: open project ide/lazarus.lpi. It does not contain all source files but they are found based on search paths. Then just use the nice code browsing and jumping features. The designer is a very complicated piece of SW because it links to and has hooks to many directions. Good luck ... QuoteSuch output i want to have in my app: http://download.oster.te.ua/Persistent/LazDesign.png It should have minimum: - horizontal/vertical line allignment to next component - snap to grid - object inspector - default event click handler Your picture and requirements look very similar to Lazarus itself. I recommend you use Lazarus IDE for your purposes and extend it with your own package as needed. It is like extending MS Excel with your own plugin instead of writing a new spreadsheet application. I believe you can even hide most unneeded things in Lazarus IDE with your custom package if you want. ---------------------------------------------------------------------- vladvons · 2013-06-10 19:54 We have already project written on Delphi and we want to move it to Lazarus. This is IDE for developing database oriented applications. It consists of 3d-part components and libraries. Most of them FPC compatible.  As form designer we used "EControl Form Designer Pro" (http://www.econtrol.ru/formdsn.html) based on Delphi sources. Works nice under Delphi, but there is no Lazarus adaptation in future at all. So i decided to make this topic. I ran lazarus under lazarus IDE and trace source file c:\lazarus\ide\main.pp TMainIDE.DoShowInspector(Show: boolean); procedure TMainIDE.CreateObjectInspector; .... also pair examples here: https://github.com/alrieckert/lazarus/blob/master/examples/objectinspe ctor/mainunit.pas https://github.com/alrieckert/lazarus/blob/master/ide/formeditor.pp also i installed "codetyphon" FPC extensions http://www.pilotlogic.com/sitejoom/index.php/codetyphon. In c:\codetyphon\typhon\components\pl_ExDesign there are components: plDesignPanel1: TplDesignPanel; plDesignScrollBox1: TplDesignScrollBox; plDesignSurface1: TplDesignSurface; plObjectInspector1: TplObjectInspector;