Re: [Lazarus] Novo celular em SP

2013-01-09 Thread Marcelo Silva
Yes, i´m sorry! -Mensagem Original- From: Mattias Gaertner Sent: Wednesday, January 09, 2013 9:54 PM To: lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] Novo celular em SP Wrong list? Mattias -- ___ Lazarus mailing list Lazaru

Re: [Lazarus] Novo celular em SP

2013-01-09 Thread Mattias Gaertner
Wrong list? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] daemonapp and Windows

2013-01-09 Thread silvioprog
2013/1/9 silvioprog > Hello, > > I'm tried to run this demo: > > http://pastebin.com/2RAAdQSy > > And executing it as: > > http://pastebin.com/tdjK0zgh > > But nothing happens. So, how to use the daemonapp unit? > > Thank you! > Sorry, after remove the "{$apptype gui}" the project worked fine.

[Lazarus] daemonapp and Windows

2013-01-09 Thread silvioprog
Hello, I'm tried to run this demo: http://pastebin.com/2RAAdQSy And executing it as: http://pastebin.com/tdjK0zgh But nothing happens. So, how to use the daemonapp unit? Thank you! -- Silvio Clécio My public projects - github.com/silvioprog -- ___

Re: [Lazarus] Novo celular em SP

2013-01-09 Thread Marcelo Silva
Mas como vc vai exibir 5x4 ou 4x5 12345-1234 ou 1234-12345 Pelo que andei lendo os 5 primeiros digitos passam a ser o codigo entao tera que ser 5x4 la vamos nois From: Alexsander Rosa Sent: Wednesday, January 09, 2013 5:23 PM To: Lazarus mailing list Subject: Re: [Lazarus] Novo celular em

Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-09 Thread William Oliveira Ferreira
2013/1/9 Hans-Peter Diettrich > William Oliveira Ferreira schrieb: > >> >> >> 2013/1/8 Graeme Geldenhuys > gra...@geldenhuys.co.**uk >> >> >> >> ANY lawyer will waste his on trying to make a claim that that is >> copyrightable. >> >> >> Especially in a case that no one is making money wit

Re: [Lazarus] Novo celular em SP

2013-01-09 Thread Alexsander Rosa
Eu costumo guardar em dois campos (ddd e numero), então vai ser transparente. Em 9 de janeiro de 2013 14:53, Marcelo Silva escreveu: > E ae pessoal, como vocês estão tratando a nova mascara de celular em SP ? > > Até então estava trabalhando assim > > (xx) - > > Existe um padrão pro novo

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Hans-Peter Diettrich
xrfang schrieb: I don't know if it's related to the fact that TEdit.CaretPos.X (or Y) is read only, or as Mattias said, the with syntax cannot work with record anyway... :-) A "with" should evaluate to an address, but a Delphi compatible *property* doesn't have an address. DoDi --

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Andreas Schneider
On Wednesday, January 9, 2013, 01:40pm Paul Ishenin wrote: > First check whether it works delphi mode. Apparently, it even works in mode objfpc. But only when the property directly reads/writes a member. If there is a setter method, it will still compile but NOT actually change the record

Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-09 Thread Zaher Dirkey
On Wed, Jan 9, 2013 at 3:03 PM, Hans-Peter Diettrich wrote: > > Sorry, penalty is charged according to the *possible* gains (lost profit), > of the rightholder of a picture (or whatever work). Giving something away > for free is *not* an excuse for abusing it in this way. True I mentioned that

[Lazarus] Novo celular em SP

2013-01-09 Thread Marcelo Silva
E ae pessoal, como vocês estão tratando a nova mascara de celular em SP ? Até então estava trabalhando assim (xx) - Existe um padrão pro novo número ? Estava pensando em trabalhar ela assim: (xx) -x ou seja, aí não atrapalha os numeros que já tenho no banco, porque eu os gua

Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-09 Thread Hans-Peter Diettrich
William Oliveira Ferreira schrieb: 2013/1/8 Graeme Geldenhuys > ANY lawyer will waste his on trying to make a claim that that is copyrightable. Especially in a case that no one is making money with it. .. Let's think: penalty would be charged accord

Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-09 Thread Hans-Peter Diettrich
João Marcelo Vaz schrieb: [...] The museum does not own all of the photographs used in the Natural History Notebooks, but it received permission from the owners to do so. The copyright owner of each illustration and photograph is identified directly below the larger-version of the image (obtained

Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-09 Thread Zaher Dirkey
Ok, I published it in my site now, it is still beta and any patches is welcome :) On Wed, Jan 9, 2013 at 2:51 AM, William Oliveira Ferreira < bdexterholl...@gmail.com> wrote: > Let's think: penalty would be charged according to the profits gained from > the use of the image, then 0-50% = 0 Best

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Paul Ishenin
09.01.13, 20:34, Mattias Gaertner пишет: Apparently it doesn't - at least not always. Could be by design, could be a bug. I'll check the bug tracker later and may report that. (You can do that yourself, if you want, but sooner or later I would like that functionality to work too, so I've a pers

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Mattias Gaertner
On Wed, 09 Jan 2013 13:27:50 +0100 Andreas Schneider wrote: > Interesting. IIRC that worked correctly in Delphi 2010 (it's been a > while ...). This /might /be a bug in FPC. > > The root of the problem is how properties are handled. Afaics however, > the use of /with/ should cause it to assign t

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread xrfang
I don't know if it's related to the fact that TEdit.CaretPos.X (or Y) is read only, or as Mattias said, the with syntax cannot work with record anyway... :-) This should be a problem (if any) with lazarus not fpc. Shannon 在 三, 1月 9, 2013 at 8:27 下午,Andreas Schneider 写道: Interesting. IIRC that

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Andreas Schneider
Interesting. IIRC that worked correctly in Delphi 2010 (it's been a while ...). This /might /be a bug in FPC. The root of the problem is how properties are handled. Afaics however, the use of /with/ should cause it to assign the final record afterwards. Apparently it doesn't - at least not always.

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Mattias Gaertner
On Wed, 09 Jan 2013 12:27:33 +0008 xrfang wrote: > Hi Adreas, > > I just tried, your method did not work as expected.  It compiled ok, but > didn't put the cursor at the end of the line as I wanted.  However, assign > CaretPos a new TPoint worked. > > Regards, > > 在 三, 1月 9, 2013 at 4:47 下午,

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread xrfang
Hi Adreas, I just tried, your method did not work as expected.  It compiled ok, but didn't put the cursor at the end of the line as I wanted.  However, assign CaretPos a new TPoint worked. Regards, 在 三, 1月 9, 2013 at 4:47 下午,Andreas Schneider 写道: Hi, you could also use the with-statement, th

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread xrfang
Well, my purpose is to make the source code look comfortable, not how the binary code is generated :) Well, again, I got a good idea from Andreas. Thanks to all of you. 在 三, 1月 9, 2013 at 7:45 下午,leledumbo 写道: > As far as I know pascal inline directive only affect the compiler, not how you wr

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread leledumbo
> As far as I know pascal inline directive only affect the compiler, not how you write code. Could you please give an example how inline function helps in my question? Yes it does, what I mean is to create something that Point() function does and using inline directive it's nearly the same as assi

Re: [Lazarus] record literal in FPC?

2013-01-09 Thread Andreas Schneider
Hi, you could also use the with-statement, that is pretty handy in such cases: |with Edit1.CaretPos do begin X := 0; Y := 0; end;| Best Regards, Andreas On 08.01.2013 16:30, xrfang wrote: > Hi, > > Is there "record literal in FPC? e.g. normally, you do: > > var >cp : TPoint; > > cp.X