About form lazarus / 6-IDE-CodeTools ---------------------------------------------------------------------- freeman35 · 2014-02-20 08:35 Is it  possible add fpc svn version and build date on about form? Thank you ---------------------------------------------------------------------- marcov · 2014-02-20 11:16 Not designtime, but runtime you can simply set a property using values from {$I http://www.freepascal.org/docs-html/prog/progsu41.html label1.caption:='{$i %FPCVERSION%} {$i %date%} {$i %time%}'; note though that because FPC can build incremental that means the buildtime FOR THAT MODULE! If you routine do a full build for a real release, that is not a problem though. ---------------------------------------------------------------------- freeman35 · 2014-02-20 22:08 Thank you but I'm talk about lazarus about form ---------------------------------------------------------------------- engkin · 2014-02-20 23:48 It is already there! ---------------------------------------------------------------------- Zoran · 2014-02-21 05:30 See the constants in unit LCLVersion, these will give you LCL (that is Lazarus) version. I do not know how to get svn revision number, but, as we can see it is in Lazarus about box, apparently there is a way to add svn revision as well. ---------------------------------------------------------------------- engkin · 2014-02-21 05:46 Quote from: Zoran on February 21, 2014, 06:30:54 amI do not know how to get svn revision number It comes from ide\revision.inc: Code: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i // Created by Svn2RevisionIncconst RevisionStr = '41139'; ---------------------------------------------------------------------- howardpc · 2014-02-21 08:57 I think freeman35 is asking for fpc svn revision number and build date, not Lazarus information, which is already shown. The fpc build (compile) date is available in the plethora of data under View->IDE Internals, but I don't see there the fpc svn revision number, though I might have missed it. ---------------------------------------------------------------------- d.ioannidis · 2014-02-21 12:57 AFAIK fpc svn revision number can be included and be shown with the -iW switch only if you build fpc from svn and do a "make revision" in the compiler dir before the usual "make all install ... etc" in the top dir. ---------------------------------------------------------------------- engkin · 2014-02-21 13:33 Quote from: howardpc on February 21, 2014, 09:57:35 amI think freeman35 is asking for fpc svn revision number and build date, not Lazarus information, which is already shown. Thanks for the correction ---------------------------------------------------------------------- freeman35 · 2014-02-21 13:59 Yse I talk about "fpc svn revision number and build date"  lazarus was there and just fpc version on there 2.7.1 etc. I checked fp IDE about box, NO svn revision info too Why I need, I actually update svn version in 1-2 days. some bugs been and I need to know versions. best easy way look at to lazarus about form. Lazarus svnrevision number is there but just fpc version is write there (2.7.1) @howardpc Yes fpc compiled date and other info there ,but no fpc svn revision number anywhere This is my suggestion, this fpc info add to lazarus about form too ---------------------------------------------------------------------- flywire · 2015-03-23 08:56 Swipe to copy info from about form to keyboard buffer would be useful.