[Lazarus] Conflicting packages in fixes_0_9_30

2011-06-17 Thread Hans-Peter Diettrich
At sudden I get an "Ambiguous units found" error in fixes_0_9_30 :-( [BTW the dialog should allow to copy/paste the message] This seems to be due to conflicting packages "LCL 1.0" and "LCLBase 0.9.30.1", "LCL1 0.9.30.1". "Installed Packages" shows LCL 1.0 installed and not removable, the other

Re: [Lazarus] LazWebSolutions - Already available in SVN

2011-06-17 Thread Paul Breneman
silvioprog wrote: Hello, I bring here some demo of a new framework being developeled. Some demos compiled with the framework: http://silvioprog.com.br/lws/all_compiled_demos.html Home page of project: http://code.google.com/p/lazwebsolutions/ I intend to invest a lot codes in this project.

Re: [Lazarus] New features since 0.9.30?

2011-06-17 Thread Mattias Gaertner
Joost van der Sluis hat am 17. Juni 2011 um 17:47 geschrieben: > Hi all, > > Tomorrow I'll give an presentation on the new features of Lazarus since > 0.9.30. > > Are there things you think I should really mention? > > What I have now: > - Package manager (actually fpc 2.6.0) > - Th

Re: [Lazarus] New features since 0.9.30?

2011-06-17 Thread Howard Page-Clark
On 17/6/11 10:06, Joost van der Sluis wrote: The Web-changes are more fpc changes, not really fpc. I did forget one myself: the LCL is a package now. That's a new feature. (Very useful when you do a lot cross-compiling, like I do) Any more? There's the shortcut [Ctrl][Shift][Space] when inside

Re: [Lazarus] New features since 0.9.30?

2011-06-17 Thread Vincent Snijders
2011/6/17 Alexander Klenin : > On Sat, Jun 18, 2011 at 03:47, Aleksa Todorovic wrote: >> Some interesting points from >> http://wiki.freepascal.org/Lazarus_0.9.30_release_notes, probably >> worth mentioning: > > I think he means *since* 0.9.30. > Maybe it is time to create Lazarus_0.9.32_release_n

Re: [Lazarus] New features since 0.9.30?

2011-06-17 Thread Joost van der Sluis
On Sat, 2011-06-18 at 05:38 +1100, Alexander Klenin wrote: > On Sat, Jun 18, 2011 at 03:47, Aleksa Todorovic wrote: > > Some interesting points from > > http://wiki.freepascal.org/Lazarus_0.9.30_release_notes, probably > > worth mentioning: > > I think he means *since* 0.9.30. > Maybe it is time

Re: [Lazarus] New features since 0.9.30?

2011-06-17 Thread Alexander Klenin
On Sat, Jun 18, 2011 at 03:47, Aleksa Todorovic wrote: > Some interesting points from > http://wiki.freepascal.org/Lazarus_0.9.30_release_notes, probably > worth mentioning: I think he means *since* 0.9.30. Maybe it is time to create Lazarus_0.9.32_release_notes? > - Lots of improvements to TACh

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Alexander Klenin
2011/6/18 lazarusportugalwebmast...@gmail.com : > For me is the same thing :D . If you are on Windows, note also CodeTyphoon: http://www.pilotlogic.com/sitejoom/index.php?option=com_content&view=article&id=96:codetyphon-about&catid=68:codetyphon-general&Itemid=148 I am using it right now with mod

Re: [Lazarus] RE : Canvas font transparent background

2011-06-17 Thread Leonardo M . Ramé
On 2011-06-17 20:19:49 +0200, Ludo Brands wrote: > Brush.Style:=bsClear > > Ludo > Thanks, that worked! -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepa

[Lazarus] RE : Canvas font transparent background

2011-06-17 Thread Ludo Brands
Brush.Style:=bsClear Ludo > -Message d'origine- > De : Leonardo M. Ramé [mailto:l.r...@griensu.com] > Envoyé : vendredi 17 juin 2011 19:39 > À : Lazarus mailing list > Objet : [Lazarus] Canvas font transparent background > > > Hi, I'm writing text to a TPaintBoxs's canvas and I'm getti

[Lazarus] Canvas font transparent background

2011-06-17 Thread Leonardo M . Ramé
Hi, I'm writing text to a TPaintBoxs's canvas and I'm getting different output on Windows than Linux. In Linux, the baground of text is transparent, this is the expected behavior. In Windows, there's a black box below the text. Should I set Pen, Brush or Font with some property to setup transpare

[Lazarus] LazWebSolutions - Already available in SVN

2011-06-17 Thread silvioprog
Hello, I bring here some demo of a new framework being developeled. Some demos compiled with the framework: http://silvioprog.com.br/lws/all_compiled_demos.html Home page of project: http://code.google.com/p/lazwebsolutions/ I intend to invest a lot codes in this project. Thank you. -- Silvi

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Florian Klämpfl
Am 17.06.2011 18:50, schrieb Marcos Douglas: > 2011/6/17 William Oliveira Ferreira : >> but could i use relative paths or they must be absolute? > > I think just absolute. At least FPC trunk allows to use environment variables in fpc.cfg by surrouding them with dollar signs. --

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marcos Douglas
2011/6/17 William Oliveira Ferreira : > but could i use relative paths or they must  be absolute? I think just absolute. Marcos Douglas -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinf

Re: [Lazarus] New features since 0.9.30?

2011-06-17 Thread Aleksa Todorovic
On Fri, Jun 17, 2011 at 17:47, Joost van der Sluis wrote: > Hi all, > > Tomorrow I'll give an presentation on the new features of Lazarus since > 0.9.30. > > Are there things you think I should really mention? > > What I have now: > - Package manager (actually fpc 2.6.0) > - Thread-view in debuggi

Re: [Lazarus] New features since 0.9.30?

2011-06-17 Thread Michael Van Canneyt
On Fri, 17 Jun 2011, Joost van der Sluis wrote: Hi all, Tomorrow I'll give an presentation on the new features of Lazarus since 0.9.30. Are there things you think I should really mention? What I have now: - Package manager (actually fpc 2.6.0) - Thread-view in debugging - History in debuggi

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread leledumbo
I have a http://free-pascal-lazarus.989080.n3.nabble.com/file/n3076763/LazarusPortable.zip portable launcher source code extracted and modified from original version by Juan A Melendez (WARNING: kinda i386-win32 centric, please modify as necessary). Put this launcher in a directory, inside the di

[Lazarus] New features since 0.9.30?

2011-06-17 Thread Joost van der Sluis
Hi all, Tomorrow I'll give an presentation on the new features of Lazarus since 0.9.30. Are there things you think I should really mention? What I have now: - Package manager (actually fpc 2.6.0) - Thread-view in debugging - History in debugging - New menu-structure Well... additions? I have to

Re: [Lazarus] Fitting a form around a grid

2011-06-17 Thread Hans-Peter Diettrich
Mark Morgan Lloyd schrieb: Assuming the number of rows is known, I'm already doing that and finding that I have to adjust by different amounts depending on the widget set: I think that the issue is the amount of overhead between a form's size and the size of its client space. It would be nice

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread William Oliveira Ferreira
but could i use relative paths or they must be absolute? William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/6/17 Marcos Douglas > 2011/6/17 William Oliveira Ferreira : > > 'cos sometimes i use my pendrive on PCs that i doesn't rights to change

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marcos Douglas
2011/6/17 William Oliveira Ferreira : > 'cos sometimes i use my pendrive on PCs that i doesn't rights to change > drive letter... > > > > I wanna use it on my pendrive to build applications on any windows, updating > only one lazarus installation when it's necessary... The only problem is fpc.cfg.

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread William Oliveira Ferreira
i'll gonna test this =) William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/6/17 lazarusportugalwebmast...@gmail.com < lazarusportugalwebmast...@gmail.com> > ** > Em 17-06-2011 14:41, Marcos Douglas escreveu: > > 2011/6/17 > lazarusportugalwebma

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread William Oliveira Ferreira
'cos sometimes i use my pendrive on PCs that i doesn't rights to change drive letter... I wanna use it on my pendrive to build applications on any windows, updating only one lazarus installation when it's necessary... William de Oliveira Ferreira Bacharel em Sist

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread lazarusportugalwebmast...@gmail.com
Em 17-06-2011 14:41, Marcos Douglas escreveu: 2011/6/17 lazarusportugalwebmast...@gmail.com : We can create a launcher. Is more easy to use. Who can help me? A launcher is easier then a script? See my BAT script: @echo off set mypath=W:\freepascal set mylaz=%mypath%\ide\laz\0.9.30 cd \ if /i %

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Graeme Geldenhuys
On 17/06/2011 15:18, Marcos Douglas wrote: > > I did more simpler: > One script that verify the driver letter and starts Lazarus with --pcp. The problem is not Lazarus, but rather fpc's fpc.cfg file. Imagine the case where Lazarus and FPC is installed on a USB stick. Regards, - Graeme - --

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marcos Douglas
2011/6/17 lazarusportugalwebmast...@gmail.com : > We can create a launcher. Is more easy to use. Who can help me? A launcher is easier then a script? See my BAT script: @echo off set mypath=W:\freepascal set mylaz=%mypath%\ide\laz\0.9.30 cd \ if /i %cd% equ W:\ ( cd %mylaz% start lazarus --pc

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread lazarusportugalwebmast...@gmail.com
Em 17-06-2011 14:23, Marcos Douglas escreveu: 2011/6/17 William Oliveira Ferreira: but i not... Why not? Choose a driver letter that nobody uses. But you always can override the paths any time... Could i use relative path in fpc.cfg? I think not. Marcos Douglas -- _

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marcos Douglas
2011/6/17 William Oliveira Ferreira : > but i not... Why not? Choose a driver letter that nobody uses. But you always can override the paths any time... > > Could i use relative path in fpc.cfg? I think not. Marcos Douglas -- ___ Lazarus mailing list

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marcos Douglas
On Fri, Jun 17, 2011 at 9:44 AM, Mattias Gaertner wrote: > > Yes, the fpc.cfg is not portable. And fpc has some fixed defaults, > which IMO are not very helpful. At least I don't know any Linux > or Mac where these defaults work. But I do know some systems with > left overs where these defaults cr

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marcos Douglas
On Fri, Jun 17, 2011 at 9:34 AM, Graeme Geldenhuys wrote: > On 17/06/2011 14:14, Marco van de Voort wrote: >> That doesn't solve the driveletter changing. If I understood everything >> correctly, for that you also need to rewrite the fpc.cfg and override >> lazarus dir using the (0.9.30+) --lazaru

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread William Oliveira Ferreira
but i not... Could i use relative path in fpc.cfg? William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/6/17 Marcos Douglas > On Fri, Jun 17, 2011 at 9:14 AM, Marco van de Voort > wrote: > > > > On Fri, Jun 17, 2011 at 09:04:24AM -0300, Marco

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marcos Douglas
On Fri, Jun 17, 2011 at 9:14 AM, Marco van de Voort wrote: > > On Fri, Jun 17, 2011 at 09:04:24AM -0300, Marcos Douglas wrote: > > > Hello! > > > At some times ago. this list have a discussion of an portable version of > > > the Lazarus. > > > Where I can download this version? > > > > The Lazaru

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Mattias Gaertner
On Fri, 17 Jun 2011 14:14:38 +0200 Marco van de Voort wrote: > On Fri, Jun 17, 2011 at 09:04:24AM -0300, Marcos Douglas wrote: > > > Hello! > > > At some times ago. this list have a discussion of an portable version of > > > the Lazarus. > > > Where I can download this version? > > > > The Laza

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Graeme Geldenhuys
On 17/06/2011 14:14, Marco van de Voort wrote: > That doesn't solve the driveletter changing. If I understood everything > correctly, for that you also need to rewrite the fpc.cfg and override > lazarus dir using the (0.9.30+) --lazarus-dir parameter Correct, and a simple application launcher (sma

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marco van de Voort
On Fri, Jun 17, 2011 at 09:04:24AM -0300, Marcos Douglas wrote: > > Hello! > > At some times ago. this list have a discussion of an portable version of > > the Lazarus. > > Where I can download this version? > > The Lazarus is portable by default. I use it in a external HD without > problems. >

Re: [Lazarus] Portable Version of Lazarus.

2011-06-17 Thread Marcos Douglas
2011/6/17 lazarusportugalwebmast...@gmail.com > > Hello! > At some times ago. this list have a discussion of an portable version of the > Lazarus. > Where I can download this version? The Lazarus is portable by default. I use it in a external HD without problems. But you have to initialize Lazar

[Lazarus] Portable Version of Lazarus.

2011-06-17 Thread lazarusportugalwebmast...@gmail.com
Hello! At some times ago. this list have a discussion of an portable version of the Lazarus. Where I can download this version? -- # #lazarus-br em irc.freenode.org Lazarus, o pascal ainda tem futuro. # Comunidade portuguesa Lazarus, Delphi, Lazarus e Pascal.

Re: [Lazarus] Bug in THintWindow: not accept click in Windows

2011-06-17 Thread silvioprog
2011/6/16 kingbiz...@gmail.com : > The event OnClick is not being casted on windows. But this worked in previous revisions of FPC-Lazarus. The OnClick not working only on new revisions. -- Silvio Clécio === Blog - Twitter - LazSolutions - Lazarus-B

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Žilvinas Ledas
On 2011-06-17 12:43, Graeme Geldenhuys wrote: On 17/06/2011 11:31, Sven Barth wrote: Seems so... I prefer Ctrl+I (indent) and Ctrl+U (unindent) ^^ :-) How strange. I thought the Tab key for indentation was quite popular, seeing that many editors support it. I prefere Tab/Shoft+Tab combinati

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Sven Barth
Am 17.06.2011 11:43, schrieb Graeme Geldenhuys: On 17/06/2011 11:31, Sven Barth wrote: Seems so... I prefer Ctrl+I (indent) and Ctrl+U (unindent) ^^ :-) How strange. I thought the Tab key for indentation was quite popular, seeing that many editors support it. Then again, comparing my keyboar

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Graeme Geldenhuys
On 17/06/2011 11:40, Martin wrote: > But Graeme addressed "hell" with his question, So I did not feel obliged > to answer LOL! Lets hope Michael doesn't interpret it like that. :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.source

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Graeme Geldenhuys
On 17/06/2011 11:31, Sven Barth wrote: > > Seems so... I prefer Ctrl+I (indent) and Ctrl+U (unindent) ^^ :-) How strange. I thought the Tab key for indentation was quite popular, seeing that many editors support it. Then again, comparing my keyboard shortcuts to anybody else is probably not a go

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Martin
On 17/06/2011 10:31, Sven Barth wrote: Am 17.06.2011 10:50, schrieb Graeme Geldenhuys: Hell, am I the only one that uses Tab (for indentation) and Shift+Tab (for unindent)? Much less keys to type. ;-) Seems so... I prefer Ctrl+I (indent) and Ctrl+U (unindent) ^^ No, he is not the only one.

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Sven Barth
Am 17.06.2011 10:50, schrieb Graeme Geldenhuys: On 16/06/2011 20:35, michael.vancann...@wisa.be wrote: To what then ? At the moment it is ecBlockIndent: Ctrl-K+I ecBlockUnindent: Ctrl-K+U Either ecBlockIndent: Ctrl-K+I and Ctrl-K+Ctrl-I ecBlockUnindent: Ctrl-K+U and Ctrl-K+Ctrl-U

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Max Vlasov
2011/6/17 Martin > On 17/06/2011 10:04, Max Vlasov wrote: > > On Fri, Jun 17, 2011 at 12:50 PM, Graeme Geldenhuys < > graemeg.li...@gmail.com> wrote: > >> >> Hell, am I the only one that uses Tab (for indentation) and Shift+Tab >> (for unindent)? Much less keys to type. ;-) >> >> > It's intere

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Graeme Geldenhuys
On 17/06/2011 11:04, Max Vlasov wrote: > conditionally makes different things if there's a selection and if > there's no. In this case the tab can be used more effectively. There are many things in Lazarus IDE that behaves different based on the fact if text is selected or not. Code Templates & Sy

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Martin
On 17/06/2011 10:04, Max Vlasov wrote: On Fri, Jun 17, 2011 at 12:50 PM, Graeme Geldenhuys mailto:graemeg.li...@gmail.com>> wrote: Hell, am I the only one that uses Tab (for indentation) and Shift+Tab (for unindent)? Much less keys to type. ;-) It's interesting, I saw this in Notepa

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Max Vlasov
On Fri, Jun 17, 2011 at 12:42 PM, Martin wrote: > On 17/06/2011 08:55, Max Vlasov wrote: > >> >> a key sequence for copying the word at cursor (used Ctrl-Alt-Insert for >> this). Currently there's no such command in Lazarus (or at least I did not >> find when searched in Key Mappings tab). >> > >

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Graeme Geldenhuys
On 16/06/2011 20:35, michael.vancann...@wisa.be wrote: >>> >>> To what then ? >> At the moment it is >> ecBlockIndent: Ctrl-K+I >> ecBlockUnindent: Ctrl-K+U >> >> Either >> ecBlockIndent: Ctrl-K+I and Ctrl-K+Ctrl-I >> ecBlockUnindent: Ctrl-K+U and Ctrl-K+Ctrl-U > > Ah. Well, this seems lik

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Martin
On 17/06/2011 08:55, Max Vlasov wrote: a key sequence for copying the word at cursor (used Ctrl-Alt-Insert for this). Currently there's no such command in Lazarus (or at least I did not find when searched in Key Mappings tab). Something similar: In the editor options (Misc) there is a checkb

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Michael Schnell
On 06/17/2011 09:55 AM, Max Vlasov wrote: I also added a key sequence for copying the word at cursor (used Ctrl-Alt-Insert for this). Sounds like a great idea ! "Copy line at cursor" seems very useful, too (e.g. Ctrl-Alt-Shift-Insert) -Michael -- __

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Max Vlasov
2011/6/17 Alexsander Rosa > Former Wordstar user detected... :-) > > > Rather a long-time borland user :) Another topic about keys. I'm long-time proponent of using ctrl-alt-arrows for Find Next/Previous Word Occurrence. I had to create expert for this in Delphi, in Lazarus it can be assigned im

Re: [Lazarus] Fitting a form around a grid

2011-06-17 Thread Mark Morgan Lloyd
Hans-Peter Diettrich wrote: Mark Morgan Lloyd schrieb: If you don't want to calculate the exact amount, you can dimension the form sufficiently big, and adjust the columns to fill the form. That's doable for the width, but what about rows where I believe there's less scope for per-row tweaki

Re: [Lazarus] Bug in THintWindow: not accept click in Windows

2011-06-17 Thread Krzysztof
I confirm that bug 2011/6/16 kingbiz...@gmail.com > ** > The event OnClick is not being casted on windows. > > Em 16/06/2011 17:10, silvioprog escreveu: > > Hi. > > The code in attached work only in Linux (Ubuntu). In Windows not > receives click in the hint window. > > This this code work in ol