Re: [Lazarus] Key-down event codes

2012-04-23 Thread leledumbo
I don't really know about it, but as long as you use VK_* constants from LCLType unit I guess it would be no problem (well... I never had such a problem on GTK2 / Qt / WinAPI, the 3 widgetsets that I use) -- View this message in context:

Re: [Lazarus] Key-down event codes

2012-04-23 Thread Mark Morgan Lloyd
leledumbo wrote: I don't really know about it, but as long as you use VK_* constants from LCLType unit I guess it would be no problem (well... I never had such a problem on GTK2 / Qt / WinAPI, the 3 widgetsets that I use) But in the current case I want to know what key is pressed, not what

[Lazarus] lazbuild --build-ide= --addpackage bla.lpk?

2012-04-23 Thread Reinier Olislagers
Hi list, At the moment, the fpcup tool can compile packages using lazbuild. It would be very nice if the compiled package could be added to the list of packages to be installed on IDE recompile. Perhaps this functionality could better be placed in lazbuild so others using e.g. batch files can

Re: [Lazarus] TBitBtn with Kid=bkClose and ModalResult

2012-04-23 Thread Bart
On 4/22/12, Bart bartjun...@gmail.com wrote: If you have a modern Delphi (as in higher then D3) could you please test this. Put a TBitBtn on a form. Set Kind = bkClose (in OI) Set Modalresult = mrClose (in OI) ShowModal this form Click on this TBitBtn What is the value Modalresult:

Re: [Lazarus] lazbuild --build-ide= --addpackage bla.lpk?

2012-04-23 Thread Mark Morgan Lloyd
Reinier Olislagers wrote: Hi list, At the moment, the fpcup tool can compile packages using lazbuild. It would be very nice if the compiled package could be added to the list of packages to be installed on IDE recompile. Perhaps this functionality could better be placed in lazbuild so others

[Lazarus] Compiling Win 64 bit LCL only with 32 bit IDE+cross compiler

2012-04-23 Thread Reinier Olislagers
Hi list, Triggered by Mattias' improvements in the make environment, I tried to incorporate support in fpcup. Goal: on Windows compile 32bit LCL+IDE; also compile 64 bit LCL with x64 cross compiler so users can immediately compile for x64 targets. Method 1: originally I just did something like

Re: [Lazarus] lazbuild --build-ide= --addpackage bla.lpk?

2012-04-23 Thread Mattias Gaertner
Reinier Olislagers reinierolislag...@gmail.com hat am 23. April 2012 um 11:45 geschrieben: Hi list, At the moment, the fpcup tool can compile packages using lazbuild. It would be very nice if the compiled package could be added to the list of packages to be installed on IDE recompile.

Re: [Lazarus] building lazarus from the command line...

2012-04-23 Thread waldo kitty
On 4/22/2012 20:01, waldo kitty wrote: On 4/22/2012 14:51, Mattias Gaertner wrote: On Thu, 19 Apr 2012 21:05:11 -0400 waldo kittywkitt...@windstream.net wrote: i hope this is what you are looking for??? Compare the differences. the only differences i see are -dDEBUG -dVERBOSE... these are

Re: [Lazarus] lazbuild --build-ide= --addpackage bla.lpk?

2012-04-23 Thread Reinier Olislagers
On 23-4-2012 12:49, Mattias Gaertner wrote: Reinier Olislagers reinierolislag...@gmail.com hat am 23. April 2012 um 11:45 geschrieben: Perhaps this functionality could better be placed in lazbuild so others using e.g. batch files can use it as well, making possible something like lazbuild

Re: [Lazarus] lazbuild --build-ide= --addpackage bla.lpk?

2012-04-23 Thread Mattias Gaertner
Reinier Olislagers reinierolislag...@gmail.com hat am 23. April 2012 um 13:19 geschrieben: On 23-4-2012 12:49, Mattias Gaertner wrote: Reinier Olislagers reinierolislag...@gmail.com hat am 23. April 2012 um 11:45 geschrieben: Perhaps this functionality could better be placed in lazbuild

Re: [Lazarus] lazbuild --build-ide= --addpackage bla.lpk?

2012-04-23 Thread Reinier Olislagers
On 23-4-2012 15:13, Mattias Gaertner wrote: Reinier Olislagers reinierolislag...@gmail.com hat am 23. April 2012 um 13:19 geschrieben: Thanks Mattias, Hope I'm not displaying too much ignorance here, but here goes: 1. the syntax for long options is --paramname=value Got it. 2.

[Lazarus] What is the current release version of Lazarus?

2012-04-23 Thread Frank Church
I thought that the even numbered releases it 0.9.xy where y is even are the release versions, or is that Free Pascal? When I view the snapshots I can see 0.9.31 and 1.1 and they have FPC 2.6.0 as the minimum FPC? Is 0.9.30 and FPC 2.4.4 deprecated now? I just viewed the releases directory and I

Re: [Lazarus] What is the current release version of Lazarus?

2012-04-23 Thread Vincent Snijders
Op 23 april 2012 16:32 heeft Frank Church vfcli...@gmail.com het volgende geschreven: I thought that the even numbered releases it 0.9.xy where y is even are the release versions, or is that Free Pascal? When I view the snapshots I can see 0.9.31 and 1.1 and they have FPC 2.6.0 as the

Re: [Lazarus] What is the current release version of Lazarus?

2012-04-23 Thread Frank Church
On 23 April 2012 15:49, Vincent Snijders vincent.snijd...@gmail.com wrote: Op 23 april 2012 16:32 heeft Frank Church vfcli...@gmail.com het volgende geschreven: I thought that the even numbered releases it 0.9.xy where y is even are the release versions, or is that Free Pascal? When

[Lazarus] Where does Lazarus 0.9.31 differ from 1.1?

2012-04-23 Thread Frank Church
Where does Lazarus 0.9.31 differ from 1.1? Is the next Lazarus version going to be 0.9.32 or 1.0.0? Are they the same or are there some major difference between them? -- Frank Church === http://devblog.brahmancreations.com -- ___

Re: [Lazarus] Renaming an existing unit

2012-04-23 Thread Jürgen Hestermann
Mattias Gaertner schrieb: suggested, Rename makes the intention crystal clear. :) Never underestimate the universe. Some people distinguish between rename, move, change type. Yes. So a distinct function for each would make it clear. -- ___

Re: [Lazarus] Compiling Win 64 bit LCL only with 32 bit IDE+cross compiler

2012-04-23 Thread Reinier Olislagers
On 23-4-2012 12:28, Reinier Olislagers wrote: Method 3: I'm now trying someting like this: make CPU_TARGET=x86_64 OS_TARGET=win64 registration lazutils lcl ...list of dependencies taken from http://wiki.lazarus.freepascal.org/Getting_Lazarus#Make_parameters but I get Compiling fcllaz.pas

Re: [Lazarus] Renaming an existing unit

2012-04-23 Thread Mattias Gaertner
On Mon, 23 Apr 2012 17:48:49 +0200 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Mattias Gaertner schrieb: suggested, Rename makes the intention crystal clear. :) Never underestimate the universe. Some people distinguish between rename, move, change type. Yes. So a distinct

Re: [Lazarus] Where does Lazarus 0.9.31 differ from 1.1?

2012-04-23 Thread Sven Barth
On 23.04.2012 17:20, Frank Church wrote: Where does Lazarus 0.9.31 differ from 1.1? Is the next Lazarus version going to be 0.9.32 or 1.0.0? Are they the same or are there some major difference between them? Lazarus 1.0 was branched from trunk with version 0.9.31 and then became 1.1. So

Re: [Lazarus] Compiling Win 64 bit LCL only with 32 bit IDE+cross compiler

2012-04-23 Thread Mattias Gaertner
On Mon, 23 Apr 2012 17:51:17 +0200 Reinier Olislagers reinierolislag...@gmail.com wrote: On 23-4-2012 12:28, Reinier Olislagers wrote: Method 3: I'm now trying someting like this: make CPU_TARGET=x86_64 OS_TARGET=win64 registration lazutils lcl ...list of dependencies taken from

Re: [Lazarus] TBitBtn with Kid=bkClose and ModalResult

2012-04-23 Thread Hans-Peter Diettrich
Bart schrieb: On 4/22/12, Bart bartjun...@gmail.com wrote: If you have a modern Delphi (as in higher then D3) could you please test this. Put a TBitBtn on a form. Set Kind = bkClose (in OI) Set Modalresult = mrClose (in OI) ShowModal this form Click on this TBitBtn What is the value

[Lazarus] Autocomplete with procedure varibles

2012-04-23 Thread Bernd
I have something like this: var some_external_func: function(foo: bar): baz; cdecl; some_external_proc: procedure(bla: blub); cdecl; and later I will assign them with pointers received with GetProcAddress() from a dynamically loaded library. There are a lot of these functions and I need to

Re: [Lazarus] Autocomplete with procedure varibles

2012-04-23 Thread Mattias Gaertner
On Mon, 23 Apr 2012 22:20:18 +0200 Bernd prof7...@googlemail.com wrote: I have something like this: var some_external_func: function(foo: bar): baz; cdecl; some_external_proc: procedure(bla: blub); cdecl; and later I will assign them with pointers received with GetProcAddress() from