Re: [Lazarus] Confused by help
Hi Graeme, It looks very interesting. How would I instruct DocView to open at a particular section of a help file from Lazarus? DocView (binary download) comes with an extensive help file explaining all it's uses (concatenating help files at runtime, defining help as an environment variable, etc). But to answer your question, DocView accepts many parameters. The docview.inf help file explains that or select Help-Command Line Parameters inside DocView Supported command line parameters: filename Load the help file filename -h Show this help -k textSearch for keyword text in open help files -n id Open Topic with numeric ID equal to id -s id Open Topic with string ID equal to id -debuglog filename Log information to a file So you can define numerical or keyword help inside your application - just like you would do with LCL or VCL applications. I don't know if you can override the default help viewer in LCL based apps. But if not, simply trap the F1 key (or probably the OnHelp event) and launch DocView with the the appropriate parameters listed above. I'm planning on more parameters and integration too. eg: placement and size of DocView, as well as IPC communication between the application and docview. The latter will allow you to control docview from your application. Regards, - Graeme - Graeme, Thanks for the info. I'll check it out and see if I can start using it. Hopefully the actuall creating of the .INF file will be a straight forward process as well :) Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] CeCILL-C licence and Lazarus?
Good!! So, If a project is released under CeCILL-C license and I create a fork of this project, and this fork stills under CeCILL-C, I have no problems, right? 2014-03-23 5:29 GMT-03:00 Geoffray « fatalerrors » geoffray.levasseurbran...@numericable.fr: Le lundi 17 mars 2014 19:29:16 Fabio Luis Girardi a écrit : Somebody used this licence to release components for Lazarus? I'm sometimes using CeCILL license for some software I'm making. After re- reading the license there's no opposition to use it allong with Lazarus made software. CeCILL is fully GPL compatible. For components you must add the same exception that FCL have with LGPL if you want to allow the use of your component in closed source software. Regards, -- Geoffray « Fatalerrors » Levasseur-Brandin geoffray.levasseurbran...@numericable.fr geoffray.levasseur-bran...@ac-toulouse.fr http://www.geoffray-levasseur.org/ http://0linux.org/ GNU/PG public key : A25E944254C62E34A8E58DCF688A5F74289C1897 Errare humanum est sed perseverare diabolicum aut cretinum. -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] [ANN] Travel Lazarus Brook | REST | JSON
Good afternoon, It is with great pleasure that I bring this news to you. Received from a friend: http://t2ti.com/erp2/modulos/lazarus/brook_rest_json.php For those who wanted a course in Brazilian Portuguese Brook, I believe this is an excellent opportunity. Soon I will contact the author of the course, because I was very much interested! Enjoy! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Setting TStringGrid row/col border styles
Thank you for your help Reinier and Howard. Let me give you some background. I'm evaluating Lazarus/FPC to convert a large Excel engineering scheduling VBA program (16K lines of code x 3 similar modules) to Pascal. I developed it in VBA for a friend because Excel's formatting and shape controls made it easy to prototype the look and feel he wanted. Unfortunately, we can't use Excel to distribute it commercially because of it's lack of security and the need to revise it to run under constantly changing MS Office. The program is stable in 32 bit and we'd like to have it run on other platforms. Besides that, I really loved Delphi when I used it years ago and have converted one engineering program with Lazarus already. Our program does not need spreadsheet calculation capability since almost all data is entered directly, or pasted from form and shape controls. From what I see so far, Lazarus will let me do everything once I learn the finer details of existing controls and relearn how to build components. On the stringgrid, I should have said that I specifically need to change SOME cell's attributes, such as cell borders, and I think it will need to use DrawGrid. I have read everything I can find find, such as the grid reference you recommended, but this old brain has the remnants of too many languages in it to sort it out quickly. It's gotten too used to IDEs that step you through object properties, events, etc.. From what I've read in the archives, the standard procedure is to go to the Lazarus source code and track down undocumented parameter and type requirements. I hope I'm missing some documentation. I intend to pursue the Lazarus solution and would be glad to do what engineers do - tabulate my findings. If someone can tell me how to post a .png image to the forum I can show you the stringgrid format I need. It's not complicated, but I need to duplicate what we've created. Any help is appreciated and I will reciprocate any way I can. Gary -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Setting-TStringGrid-row-col-border-styles-tp4036389p4036405.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Setting TStringGrid row/col border styles
On 24/03/2014 18:19, Gary Randall wrote: If someone can tell me how to post a .png image to the forum I can show you the stringgrid format I need. Once logged in, go to the appropriate forum board (say Lazarus General) and click the [New Topic] button. As well as filling in the subject field and content edit box you'll see an [+ Attachments and other options] link below the edit box. That brings up a dialog which lets you locate a file somewhere on your disk to add to the new topic as an attachment. Howard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Setting TStringGrid row/col border styles
Thanks Howard. I did as you suggested. I also did some more searching and found the Lazarus Component Library help file (lcl.chm) which gives me the component spec's I was looking for. Gary -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Setting-TStringGrid-row-col-border-styles-tp4036389p4036407.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Confused by help
On 2014-03-24 13:41, Richard Mace wrote: Hopefully the actuall creating of the .INF file will be a straight forward process as well :) The DocView help has a section for developers briefly explaining how to create INF files. More detailed information is in the fpGUI code repository in the fpgui/docview/docs/ directory. The WIPF compiler is also included in the fpGUI repository, in the tools/wipfc/ directory. If you need any further assistance, don't hesitate to ask. The IPF syntax is very easy. And if you are creating Class documentation, the Free Pascal Compiler's fpdoc tool can already generate IPF output for you. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus