Re: [Lazarus] compiling lazarus packages with fpc only

2011-10-05 Thread Mattias Gaertner
On Thu, 06 Oct 2011 07:59:03 +0200 Marc Santhoff wrote: > Hi to everyone, > > I'd like to know: > Is it possible to have fpc compile a source package that is created only > as a lazarus package by using the .lpk-file, or do I have to make a > second sort of building configuration e.g. for fpmake

Re: [Lazarus] Platform dependent modifier for common shortcut-keys?

2011-10-05 Thread Felipe Monteiro de Carvalho
On Wed, Oct 5, 2011 at 11:24 PM, Bart wrote: > Would it be a bad idea to define a constand that equals ssCtrl on > non-Mac and ssMeta on a Mac? ... > If so, should this be an LCL feature (since it mostly concerns GUI > widgets), or should it be done in the classes unit? I think this new constant

[Lazarus] compiling lazarus packages with fpc only

2011-10-05 Thread Marc Santhoff
Hi to everyone, I'd like to know: Is it possible to have fpc compile a source package that is created only as a lazarus package by using the .lpk-file, or do I have to make a second sort of building configuration e.g. for fpmake or fpcmake? Secondly, does the generated .pas file corresponding to

Re: [Lazarus] Platform dependent modifier for common shortcut-keys?

2011-10-05 Thread Hans-Peter Diettrich
Bart schrieb: Some LCL controls have hardcoded Ctrl+C, Ctlr+Home (etc.) for this, but that makes them incompatible with Mac standards. Would it be a bad idea to define a constand that equals ssCtrl on non-Mac and ssMeta on a Mac? That's up to the low-level keyboard functions, which translate

[Lazarus] Platform dependent modifier for common shortcut-keys?

2011-10-05 Thread Bart
Hi all, Since we like the "write once, compile anywhere" concept, might it not also be usefull if we can share (in code) common shortcut-keys between Mac and non-Mac platforms? For example, on many OS's running on PC's Ctrl+C, Ctlr+V and Ctlr+X, Ctrl+Home are used for copy, paste, cut and "goto t

[Lazarus] package directory destroyed, replaced with executable of same name

2011-10-05 Thread David Emerson
So I just managed to get svn fpc and svn lazarus installed and running, yay! now the bad news I have a git repo (and lazarus package) called saralatools. I had just compiled and run an example program that uses the package. Somehow lazarus crashed. Now I see that my entire saralatools directory

Re: [Lazarus] Get LCL revision or version via ifdef

2011-10-05 Thread cobines
2011/10/5 Hans-Peter Diettrich : > Perhaps the used unit is not parsed until a separator token (',' or ';') >  has been parsed. What if you try: > >> uses >>   LCLVersion >    , >>   {$IF DECLARED(lcl_fullversion)} >>   {$ERROR interface} >>   {$ENDIF} >    SysUtils >>   ; Still the same. If moved

Re: [Lazarus] Fwd: [lazarus-br] Tamaho do executavel

2011-10-05 Thread Antônio
http://bugs.freepascal.org/view.php?id=19641 Antônio 2011/10/5 Marcos Douglas : > On Wed, Oct 5, 2011 at 3:29 AM, Felipe Monteiro de Carvalho > wrote: >> 2011/10/5 William Oliveira Ferreira : >>> Well, i'm thinking as at the beginner's side. Theses build modes maybe seems >>> so obscure to them.

Re: [Lazarus] Fwd: [lazarus-br] Tamaho do executavel

2011-10-05 Thread Marcos Douglas
On Wed, Oct 5, 2011 at 3:29 AM, Felipe Monteiro de Carvalho wrote: > 2011/10/5 William Oliveira Ferreira : >> Well, i'm thinking as at the beginner's side. Theses build modes maybe seems >> so obscure to them. > > The usage of a pre-configured build mode is trivial. See this: > > http://wiki.lazar

Re: [Lazarus] Drawing memo text in DBGrid - tried but stuck

2011-10-05 Thread Reinier Olislagers
On 16-9-2011 8:06, Reinier Olislagers wrote: > Hi all, > > I'm trying to draw text from DBF memo fields on a dbgrid instead of the > standard "(Memo)". > The memo fields contain text data that is probably not that long (about > a couple of thousand characters max), which I'd like to display in a >

Re: [Lazarus] Fwd: [lazarus-br] Tamaho do executavel

2011-10-05 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: Well, time to learn then! Build modes are extremely easy to use when you learn them. I'm missing a feature for options which should apply to *all* build modes. DoDi -- ___ Lazarus mailing list Lazarus@lists.laz

Re: [Lazarus] RE : Fwd: [lazarus-br] Tamaho do executavel

2011-10-05 Thread Miquel Bruns
debug and release modes should be included in lazarus release by default... cheers, miquel. On Wed, Oct 5, 2011 at 9:34 AM, Ludo Brands wrote: > > 05.10.2011 14:29, Felipe Monteiro de Carvalho wrote: > > > Well, time to learn then! Build modes are extremely easy to > > use when > > > you learn

Re: [Lazarus] A few questions on threads

2011-10-05 Thread Lukasz Sokol
On 04/10/2011 15:02, Frank Church wrote: > > > Do the Start and Resume methods automatically call the Execute > method? > > > Clases.inc: line 115 tthread.inc: 98 func.inc: 143 < this is WinAPI call thread.inc: 143 threadh.inc: 31 :) Lukasz -- _

[Lazarus] RE : Fwd: [lazarus-br] Tamaho do executavel

2011-10-05 Thread Ludo Brands
> 05.10.2011 14:29, Felipe Monteiro de Carvalho wrote: > > Well, time to learn then! Build modes are extremely easy to > use when > > you learn them. I even added a very easy tutorial of how to add a > > debug and a release build modes here, with many screenshots: > > > > > http://wiki.lazarus.

Re: [Lazarus] Fwd: [lazarus-br] Tamaho do executavel

2011-10-05 Thread Paul Ishenin
05.10.2011 14:29, Felipe Monteiro de Carvalho wrote: Well, time to learn then! Build modes are extremely easy to use when you learn them. I even added a very easy tutorial of how to add a debug and a release build modes here, with many screenshots: http://wiki.lazarus.freepascal.org/IDE_Window:_