Re: [Lazarus] DateDif function needed

2013-11-10 Thread Jürgen Hestermann
Am 2013-11-10 06:57, schrieb Hans-Peter Diettrich: Jürgen Hestermann schrieb: Am 2013-11-09 13:43, schrieb Michael Van Canneyt: So what ? Do an EncodeDate() and you're all set. That would be a real performance hit (i.e. when sorting by date) if you have stored dates in year, month, day...

[Lazarus] chmhelp exit heaptrace error

2013-11-10 Thread waldo kitty
Lazarus 1.3 r42488 FPC 2.7.1 r26006 i386-win32-win32/win64 see attached png as i could not c'n'p from it as hoped... this is the first popup on exiting chmhelp after opening it and simply exiting... opening chmhelp was done from laz via F1 with the cursor on Classes in the default project...

[Lazarus] laz 1.3 unfreed memory block

2013-11-10 Thread waldo kitty
Lazarus 1.3 r42488 FPC 2.7.1 r26006 i386-win32-win32/win64 just updated and compiled fpc and laz... opened laz with default blank project and closed laz (after getting above version info)... Heap dump by heaptrc unit 776442 memory blocks allocated : 76059123/78081992 776443 memory blocks

Re: [Lazarus] Lazarus Release Candidate 1 of 1.2

2013-11-10 Thread Florian Klaempfl
Am 06.11.2013 20:42, schrieb Martin: One of my favourite features: 'Inactive code in $IFDEF can be low-lighted (greyed out)' :) And, if you configure IFDEF to be foldable, and right click the fold gutter part, then you find an option to fold all inactive ifdef. Nice to see, now my last

Re: [Lazarus] laz 1.3 unfreed memory block

2013-11-10 Thread waldo kitty
On 11/10/2013 8:19 AM, waldo kitty wrote: [...] this is all i get and my lazdbg.log file is not created any more so i can't get any info from there... i suspect this has to do with my using OPT=-gl -gh -dHEAPTRC_WINDOW when i make laz... any ideas on how i can have both, the window i can

[Lazarus] lhelp command line

2013-11-10 Thread waldo kitty
how does one get lhelp to load all or a certain set of chm files from the command line? lhelp ${path}/*.chm and/or lhelp ${path}/foo.chm;${foo}/bar.chm neither currently work to load multiple chm (and i suspect other supported formats) files... additionally, from within lhelp,

Re: [Lazarus] UTF8 string compare with correct locale sorting

2013-11-10 Thread Avishai
There is a long thread on the forum regarding sorting. http://forum.lazarus.freepascal.org/index.php/topic,17454.0.html http://forum.lazarus.freepascal.org/index.php/topic,17454.0.html -- View this message in context:

Re: [Lazarus] chmhelp exit heaptrace error

2013-11-10 Thread waldo kitty
On 11/10/2013 8:43 AM, waldo kitty wrote: Lazarus 1.3 r42488 FPC 2.7.1 r26006 i386-win32-win32/win64 see attached png as i could not c'n'p from it as hoped... this is the first popup on exiting chmhelp after opening it and simply exiting... opening chmhelp was done from laz via F1 with the

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Valdas Jankūnas
2013.11.10 18:24, William Oliveira Ferreira rašė: I think you could also use anchors Anchors not helps if Parent.Autosize is True. I found better solution: - Panel.AutoSize := True; - Panel.ChildSizing.ControlsPerLine := MaxInt; - Panel.ChildSizing.Layout := cclLeftToRightThenTopToBottom; -

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
You can also use Constraints to set height/width of children with ChildSizing. On Sun, Nov 10, 2013 at 10:43 PM, Valdas Jankūnas zmu...@gmail.com wrote: 2013.11.10 18:24, William Oliveira Ferreira rašė: I think you could also use anchors Anchors not helps if Parent.Autosize is True. I

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
What I don't like about ChildSizing is if you need to change the order of controls it can be difficult. And here's something you should try. Have a TPanel as one of the Children - get everything set the way you want with ChildSizing - now add a TLabel to the TPanel. Using LeftAlign it's only a

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Valdas Jankūnas
2013.11.10 23:03, Avishai rašė: You can also use Constraints to set height/width of children with ChildSizing. Forgot about that, thanks. One problem left: when you add TBevel as child and if you want it BorderSpacing.CellAlignVertical=ccaFill (to make separator), you get fixed height

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
Hmmm. I tried setting TBevel .borderSpacing.Around:= 4 and it suddenly corrected itself. I'm not too sure I trust that approach but you can play with it and see. On Mon, Nov 11, 2013 at 12:01 AM, Valdas Jankūnas zmu...@gmail.com wrote: 2013.11.10 23:03, Avishai rašė: You can also use

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
Well? I forgot that I had set Constraints.MaxHeight:= 24 before I set b orderSpacing.Around:= 4. Then I changed MaxHeight:= 20 and it went back to Height:= 50. Then I reset MaxHeight:= 24 and borderSpacing.Around:= 0 and it jumped back to a height of 24. I don't think that's an answer. I'll

[Lazarus] Lazarus with fpc 2.7.1

2013-11-10 Thread Edson F. Lidorio
Good night Which the repository you can download Lazarus with fpc 2.7.1? Edson -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus with fpc 2.7.1

2013-11-10 Thread waldo kitty
On 11/10/2013 6:32 PM, Edson F. Lidorio wrote: Good night Which the repository you can download Lazarus with fpc 2.7.1? trunk on the fpc repository is where i download the current 2.7.1... it resides in its own directory on my system... then i'm currently pulling the trunk version of

Re: [Lazarus] Centered elements in autosize enabled panel. Possible?

2013-11-10 Thread Avishai
Could you use a TPanel in place of the TBevel? I tried that and it gives the same visual effect without the size problems. But I don't know what you are doing with the TBevel. On Mon, Nov 11, 2013 at 12:20 AM, Avishai avishai.g...@gmail.com wrote: Well? I forgot that I had set