[Lazarus] Code Editor - smart tabs to below line

2013-01-08 Thread Krzysztof
Hi,

Normally smart tab affect to line above, is exist short key to affect to
line below?

Regards
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Scrolling DBGrid without changing position of current record

2013-01-08 Thread Krzysztof
Hi,

Is exists trick to avoid changing SQLQuery position while scrolling DBGrid?
For example, I want keep selection on first record and want to scroll to
the end of grid

Regards
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-08 Thread Graeme Geldenhuys
On 01/07/13 22:45, Mattias Gaertner wrote:
 And it is based on this image, i used it as guide lines to draw my own.
 http://nature.ca/notebooks/english/cheetah_p1.htm
 I am not a lawyer, so not sure if i break any license for the original
 image.
 
 AFAIK this depends on the country.

Umm... A cheetah is a cheetah is a cheetah. Any cheetah looks pretty
similar to any other cheetah in the wild. So it goes without saying that
a drawing of a cheetah will look pretty similar to another drawing of a
cheetah.  In any case, the one is a drawing of a complete cheetah, the
other is just of the head section. Very different. So I don't think
Zaher has anything to worry about.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-08 Thread Mattias Gaertner

Graeme Geldenhuys gra...@geldenhuys.co.uk hat am 8. Januar 2013 um 13:08
geschrieben:
 On 01/07/13 22:45, Mattias Gaertner wrote:
  And it is based on this image, i used it as guide lines to draw my own.
  http://nature.ca/notebooks/english/cheetah_p1.htm
  I am not a lawyer, so not sure if i break any license for the original
  image.
 
  AFAIK this depends on the country.

 Umm... A cheetah is a cheetah is a cheetah. Any cheetah looks pretty
 similar to any other cheetah in the wild. So it goes without saying that
 a drawing of a cheetah will look pretty similar to another drawing of a
 cheetah. In any case, the one is a drawing of a complete cheetah, the
 other is just of the head section. Very different. So I don't think
 Zaher has anything to worry about.

You are probably right, that Zaher has not to worry.

AFAIK in most countries it does not matter if you create a derivative work only
from parts of a drawing.
If the new work is a derivative work or if its resemblance is small enough to
claim a new work is a matter of the law+lawyers of the country of whatever
company wants to use this logo. Remember the red bus copyright case?

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-08 Thread João Marcelo Vaz
There's a link on the cheetah page to the reproduction rights:
http://nature.ca/notebooks/english/reprorights.htm

This statement is there:

Illustrations and photographs are also subject to copyright
protection, so you do not have the right to reproduce them, in most
circumstances.
You may reproduce illustrations and photographs for personal use, as
long as you credit the creator and copyright owner of each image. So,
for example, you may copy an image and use it in a school project,
with credit given.
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 by
clicking on the smaller version, and delivered in a pop-up
browser-window). Where no copyright owner is identified for a
photograph, it exists in the public domain.

And For any other use of material from the Natural History Notebooks,
contact us to request written permission.

So, i would ask the museum for permission, in order to avoid future problems...

2013/1/8, Mattias Gaertner nc-gaert...@netcologne.de:

 Graeme Geldenhuys gra...@geldenhuys.co.uk hat am 8. Januar 2013 um 13:08
 geschrieben:
 On 01/07/13 22:45, Mattias Gaertner wrote:
  And it is based on this image, i used it as guide lines to draw my
  own.
  http://nature.ca/notebooks/english/cheetah_p1.htm
  I am not a lawyer, so not sure if i break any license for the original
  image.
 
  AFAIK this depends on the country.

 Umm... A cheetah is a cheetah is a cheetah. Any cheetah looks pretty
 similar to any other cheetah in the wild. So it goes without saying that
 a drawing of a cheetah will look pretty similar to another drawing of a
 cheetah. In any case, the one is a drawing of a complete cheetah, the
 other is just of the head section. Very different. So I don't think
 Zaher has anything to worry about.

 You are probably right, that Zaher has not to worry.

 AFAIK in most countries it does not matter if you create a derivative work
 only
 from parts of a drawing.
 If the new work is a derivative work or if its resemblance is small enough
 to
 claim a new work is a matter of the law+lawyers of the country of whatever
 company wants to use this logo. Remember the red bus copyright case?

 Mattias

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



-- 
João Marcelo
http://blog.caixadepandora.com/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-08 Thread Zaher Dirkey
We need the declaration for reproduce word, i don't think it is make a
similar to it, i need a lawyer :P

On Tue, Jan 8, 2013 at 4:57 PM, João Marcelo Vaz jms...@gmail.com wrote:

 so you do not have the right to reproduce them




-- 
I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3

Best Regards
Zaher Dirkey
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] record literal in FPC?

2013-01-08 Thread xrfang
Hi, 

Is there record literal in FPC? e.g. normally, you do:

var
   cp : TPoint;

cp.X := 0;
cp.Y := 0;
Edit1.CaretPos := cp;

I would like to use literal directly, such as:

Edit1.CaretPos := (X: 0, Y: 0); 

But the above syntax is wrong. Is there such thing exists?

Thanks,
Shannon--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] record literal in FPC?

2013-01-08 Thread ik
On Tue, Jan 8, 2013 at 5:30 PM, xrfang xrf...@gmail.com wrote:
 Hi,

 Is there record literal in FPC? e.g. normally, you do:

 var
cp : TPoint;

 cp.X := 0;
 cp.Y := 0;
 Edit1.CaretPos := cp;

 I would like to use literal directly, such as:

 Edit1.CaretPos := (X: 0, Y: 0);

 But the above syntax is wrong. Is there such thing exists?

no, but try the point function


 Thanks,
 Shannon

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] record literal in FPC?

2013-01-08 Thread Howard Page-Clark

On 08/1/13 3:30, xrfang wrote:


I would like to use literal directly, such as:

Edit1.CaretPos := (X: 0, Y: 0);


You can use a typed constant thus:

const Origin: TPoint = (x:0; y:0);

begin
...
 Edit1.CaretPos := Origin;
...


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-08 Thread Howard Page-Clark

On 08/1/13 3:14, Zaher Dirkey wrote:

We need the declaration for reproduce word, i don't think it is make
a similar to it, i need a lawyer :P


IANAL but reproduce here means produce a copy of, which you are not 
doing.
Rather you are adapting the image (or taking inspiration from the image, 
or whatever) i.e. producing a different image.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-08 Thread Graeme Geldenhuys
On 01/08/13 14:57, João Marcelo Vaz wrote:
 
 So, i would ask the museum for permission, in order to avoid future 
 problems...


So lets see Somebody is trying to copyright a cheetah looking left??
 Zaher created an illustration of a left looking cheetah - I don't think
ANY lawyer will waste his on trying to make a claim that that is
copyrightable.

But then the world has gone totally bonkers with copyright anyway.

Zaher, I have a photo (that I took) of a cheetah looking left - I give
you permission to say you copied my photo. No go in peace and marvel
over your creation. ;-)


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-08 Thread Graeme Geldenhuys
On 01/08/13 16:31, Howard Page-Clark wrote:
 
 IANAL but reproduce here means produce a copy of, which you are not 
 doing.
 Rather you are adapting the image (or taking inspiration from the image, 
 or whatever) i.e. producing a different image.


Exactly!

If Zaher printed and then traced the original image using a digital
tablet+stylus, then I might consider it a problem. But his image looks
nothing like the original. It a head of a cheetah for G*d's sake, and
like I said, all cheetahs in the wild look pretty damn similar.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band

2013-01-08 Thread Jesus Reyes


--- El lun 7-ene-13, Marcos Douglas m...@delfire.net escribió:

 De: Marcos Douglas m...@delfire.net
 Asunto: Re: [Lazarus] LazReport: printing on the next page, using stretch and 
 breaked band
 A: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
 Fecha: lunes, 7 de enero de 2013, 16:04
 On Mon, Jan 7, 2013 at 6:25 PM, Jesus
 Reyes jesus...@yahoo.com.mx
 wrote:
 
 
  --- El lun 7-ene-13, Marcos Douglas m...@delfire.net
 escribió:
 
  Jesus,
 
  Do you need more information or tests to finish
 this bug?
 
  Best regards,
  Marcos Douglas
 
 
  No, I'm in the process of testing the fix, will commit
 it soon.
 
  Jesus Reyes A.
 
 Ok, thank you.
 
 Marcos Douglas
 

Fix commited, please test.

Jesus Reyes A.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] LazReport: printing on the next page, using stretch and breaked band

2013-01-08 Thread Marcos Douglas
On Tue, Jan 8, 2013 at 2:50 PM, Jesus Reyes jesus...@yahoo.com.mx wrote:


 --- El lun 7-ene-13, Marcos Douglas m...@delfire.net escribió:

 De: Marcos Douglas m...@delfire.net
 Asunto: Re: [Lazarus] LazReport: printing on the next page, using stretch 
 and breaked band
 A: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
 Fecha: lunes, 7 de enero de 2013, 16:04
 On Mon, Jan 7, 2013 at 6:25 PM, Jesus
 Reyes jesus...@yahoo.com.mx
 wrote:
 
 
  --- El lun 7-ene-13, Marcos Douglas m...@delfire.net
 escribió:
 
  Jesus,
 
  Do you need more information or tests to finish
 this bug?
 
  Best regards,
  Marcos Douglas
 
 
  No, I'm in the process of testing the fix, will commit
 it soon.
 
  Jesus Reyes A.

 Ok, thank you.

 Marcos Douglas


 Fix commited, please test.

 Jesus Reyes A.

Works fine. Thank you!

Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] record literal in FPC?

2013-01-08 Thread xrfang
Thanks, but what I want is to AVOID any kind of declarations. So I will use the 
Point() function suggested by ik.

在 三, 1月 9, 2013 at 12:26 上午,Howard Page-Clark h...@talktalk.net 写道:
On 08/1/13 3:30, xrfang wrote: 

 I would like to use literal directly, such as: 
 
 Edit1.CaretPos := (X: 0, Y: 0); 

You can use a typed constant thus: 

const Origin: TPoint = (x:0; y:0); 

begin 
.. 
Edit1.CaretPos := Origin; 
.. 


-- 
___ 
Lazarus mailing list 
Lazarus@lists.lazarus.freepascal.org 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] record literal in FPC?

2013-01-08 Thread leledumbo
If you declare an inline function producing the record, the effect would be
the same with that literal record.



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-record-literal-in-FPC-tp4028464p4028474.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] My Lazarus logo using Inkscape

2013-01-08 Thread William Oliveira Ferreira
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 with it. ..


Let's think: penalty would be charged according to the profits gained from
the use of the image, then 0-50% = 0
-- 

William de Oliveira Ferreira
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] record literal in FPC?

2013-01-08 Thread Xiangrong Fang
Hi 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?

Thanks

2013/1/9 leledumbo leledumbo_c...@yahoo.co.id

 If you declare an inline function producing the record, the effect would be
 the same with that literal record.



 --
 View this message in context:
 http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-record-literal-in-FPC-tp4028464p4028474.html
 Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus