Re: [Lazarus] LazReport Status

2009-08-15 Thread Luiz Americo Pereira Camara
Jesus Reyes escreveu: For the rest of us that don't know what "child bands" or "shift" features do can you please explain it? http://fast-report.com/documentation/UserMan/index.html?child_bands.htm http://fast-report.com/documentation/UserMan/index.html?shifting_objects.htm Luiz -- _

Re: [Lazarus] Problem with Includes during Design Time

2009-08-15 Thread Andrew Brunner
>> Yes.  It was b/c uStorage.pas was a unit added to the project itself >> which in turn resulted in the path being added the include paths.  And >> when I go to the project inspector I can duplicate the error EVERY >> time by removing the uStorage.pas unit from the project. > > This is not a bug,

Re: [Lazarus] Scanline on certain size images seems to be failing : Access Violation...

2009-08-15 Thread dominique
I didn't know there was an LCL define hence why I used FPC. I'll use that from now on. Thanks for the heads up. Dominique. On Sat, 15 Aug 2009 17:33:10 +0200, Mattias Gaertner wrote: > On Sat, 15 Aug 2009 09:26:59 -0400 > wrote: > >> Please ignore, >> I just realised that ScanLineImage.Fre

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Marc Weustink
Graeme Geldenhuys wrote: Marc Weustink wrote: I admit a little explenation would help since it is not so trivial. Thanks for the explanation - definitely not a "general knowledge" thing. Searching in Google I found no mention of this in any other GUI toolkits or IDE's - so I gather this is

Re: [Lazarus] Scanline on certain size images seems to be failing : Access Violation...

2009-08-15 Thread theo
When trying to convert Bitmap manipulation stuff using Scanline from Delphi to Freepascal / Lazarus Opbitmap might help you. http://www.theo.ch/lazarus/opbitmap64.zip If you are not on 32 bit intel install the opbitmapforlazcompat.lpk package. The demos should get you going. I don't know if th

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Sergei Gorelkin
Mattias Gaertner wrote: Please create a bug report. Done: http://bugs.freepascal.org/view.php?id=14357 Sergei -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Problem with Includes during Design Time

2009-08-15 Thread Mattias Gaertner
On Sat, 15 Aug 2009 13:50:13 -0500 Andrew Brunner wrote: > On Sat, Aug 15, 2009 at 10:52 AM, Mattias > Gaertner wrote: > > > > Where is uTempSearchUserInteractionDefinitions.inc? > > What is the exact file path? > > /mnt/Developer/Source/Projects/SCS/Stored/ is the path to the unit > file and it

Re: [Lazarus] Problem with Includes during Design Time

2009-08-15 Thread Andrew Brunner
On Sat, Aug 15, 2009 at 10:52 AM, Mattias Gaertner wrote: > > Where is uTempSearchUserInteractionDefinitions.inc? > What is the exact file path? /mnt/Developer/Source/Projects/SCS/Stored/ is the path to the unit file and it's includes which are many included in the unit. Its folder has 74 items a

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: > Paul Ishenin wrote: >>> >> Indeed. We are mostly testing with english version. There captions >> fits fine into designed width. > > And the same issue appears for Afrikaans language as well. I've said it > before and I'll say it again. All modern GUI toolkits suppor

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Mattias Gaertner
On Sat, 15 Aug 2009 16:34:32 +0200 Hans-Peter Diettrich wrote: > dmitry boyarintsev schrieb: > > > What about newcomers? > > Should we say: "Learn Delphi first, then come back here?" :) > > That's the current state. Without the Delphi documentation and OH > every newcomer to Lazarus is definite

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Does anybody else excluding Paul know what negative fonts sizes mean? Please answer, I would like to know if I missed something major in my 15+ years of working as a developer. AFAIR the positive and negative values reflect the inclusion and exclusion of the "exter

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread Hans-Peter Diettrich
Martin schrieb: The problem is deeper. Except for the outer window (and you can check the wiki, there is an article that explains why autosizing is limted for the outer window), except for that all the buttons etc are autosizing. But even if the window was autosizing, that would make the pr

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Indeed. We are mostly testing with english version. There captions fits fine into designed width. And the same issue appears for Afrikaans language as well. I've said it before and I'll say it again. All modern GUI toolkits support layout managers. These layout man

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Hans-Peter Diettrich
dmitry boyarintsev schrieb: What about newcomers? Should we say: "Learn Delphi first, then come back here?" :) That's the current state. Without the Delphi documentation and OH every newcomer to Lazarus is definitely lost :-( Lazarus has been breaking Delphi backward-compatibility for a l

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread theo
I think it should be like this in Delphi: Since size and height change the same value with a slightly different meaning (PPI) whichever value was set, the other one is rounded and gets a negative value. If you set size you should get a negative height and vice versa. -- _

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Mattias Gaertner
On Sat, 15 Aug 2009 20:56:47 +0400 Sergei Gorelkin wrote: > Michael Van Canneyt wrote: > > > > User, yes. programmer: no. > > > > As I understood it, the difference is as follows: > > - Setting size selects the point size of the font, no matter what > > the DPI is. > > - Setting height sets the

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Martin
Michael Van Canneyt wrote: On Sat, 15 Aug 2009, Graeme Geldenhuys wrote: Michael Van Canneyt wrote: Am I missing something ? Yes, why is it an option in the first place? No other application asks the user for the Font Size or Font Height. If the one can be calculated from the other, the

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Jürgen Hestermann
- Setting size selects the point size of the font, no matter what the DPI is. - Setting height sets the pixel size of the font, and then the correct point size is calculated (using DPI) so the height is reached. So it does work the following way: 2.) If I use positive values, it's just the n

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Sergei Gorelkin
Michael Van Canneyt wrote: User, yes. programmer: no. As I understood it, the difference is as follows: - Setting size selects the point size of the font, no matter what the DPI is. - Setting height sets the pixel size of the font, and then the correct point size is calculated (using DPI)

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: As I understood it, the difference is as follows: - Setting size selects the point size of the font, no matter what the DPI is. - Setting height sets the pixel size of the font, and then the correct point size is calculated (using DPI) so the height is reached.

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Michael Van Canneyt
On Sat, 15 Aug 2009, Graeme Geldenhuys wrote: Michael Van Canneyt wrote: Am I missing something ? Yes, why is it an option in the first place? No other application asks the user for the Font Size or Font Height. If the one can be calculated from the other, then just give us the ONE norma

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: Am I missing something ? Yes, why is it an option in the first place? No other application asks the user for the Font Size or Font Height. If the one can be calculated from the other, then just give us the ONE normal option - Font Size. Anything else is just confu

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Michael Van Canneyt
On Sat, 15 Aug 2009, Graeme Geldenhuys wrote: Vincent Snijders wrote: Google found for me http://support.microsoft.com/kb/32667 It is not Delphi specific, but has windows roots. I still don't know how they got to negative font height idea. The Xlib and Xft font metrics documentation, and

Re: [Lazarus] Problem with Includes during Design Time

2009-08-15 Thread Mattias Gaertner
On Sat, 15 Aug 2009 10:03:31 -0500 Andrew Brunner wrote: > I get this error message when I'm in the IDE and try to double click > any component on the form instance. > > TCodeToolManager.HandleException: "include file not found > "uTempSearchUserInteractionDefinitions.inc"" at Line=78 Col=7 in >

Re: [Lazarus] Multi-threading support in IDE

2009-08-15 Thread Marco van de Voort
On Fri, Aug 14, 2009 at 04:36:58PM +0200, Mattias Gaertner wrote: > > > The are good reasons to not put the compiler into the same process: > > > -a process can be aborted/killed easily > > > -various compiler versions > > > -compiler crashes do not effect the IDE > > > > Disadvantages: > > - comp

Re: [Lazarus] Scanline on certain size images seems to be failing : Access Violation...

2009-08-15 Thread Mattias Gaertner
On Sat, 15 Aug 2009 09:26:59 -0400 wrote: > Please ignore, > I just realised that ScanLineImage.Free was being called before the > Color_RGBtoColor funcation. Which caused the AV. > Hence why the code works under Delphi, but was AVing with FreePascal. Note: The ScanLine differences have nothin

[Lazarus] Problem with Includes during Design Time

2009-08-15 Thread Andrew Brunner
I get this error message when I'm in the IDE and try to double click any component on the form instance. TCodeToolManager.HandleException: "include file not found "uTempSearchUserInteractionDefinitions.inc"" at Line=78 Col=7 in "/mnt/Developer/Source/Projects/SCS/uStorage.pas" My -Fi options and

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Vincent Snijders wrote: Google found for me http://support.microsoft.com/kb/32667 It is not Delphi specific, but has windows roots. I still don't know how they got to negative font height idea. The Xlib and Xft font metrics documentation, and various other docs on the net, defines font heig

Re: [Lazarus] Scanline on certain size images seems to be failing : Access Violation...

2009-08-15 Thread dominique
Please ignore, I just realised that ScanLineImage.Free was being called before the Color_RGBtoColor funcation. Which caused the AV. Hence why the code works under Delphi, but was AVing with FreePascal. Dominique. On Sat, 15 Aug 2009 08:28:53 -0400, wrote: > I have the following 2 functions to

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Marc Weustink wrote: I admit a little explenation would help since it is not so trivial. Thanks for the explanation - definitely not a "general knowledge" thing. Searching in Google I found no mention of this in any other GUI toolkits or IDE's - so I gather this is a Delphi VCL specific thin

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Vincent Snijders
Graeme Geldenhuys schreef: Jürgen Hestermann wrote: Does anybody else excluding Paul know what negative fonts sizes mean? I would like to know that too. I also don't have any idea what negative font sizes could mean. Ok, that could be due to the fact that I havened used Delphi heavily and I

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Jürgen Hestermann wrote: Does anybody else excluding Paul know what negative fonts sizes mean? I would like to know that too. I also don't have any idea what negative font sizes could mean. Ok, that could be due to the fact that I havened used Delphi heavily and I am just beginning with Lazar

[Lazarus] Scanline on certain size images seems to be failing : Access Violation...

2009-08-15 Thread dominique
I have the following 2 functions to determine the transparency colour of a bitmap... // Returns the transparent color for the bitmap function Bitmap24_TransparentColor(bitmap:TBitmap):TColor; var row : PRGBArray; {$IFDEF FPC} ScanLineImage : TLazIntfImage; {$ENDIF} begin Result := clBlac

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Marc Weustink
Jürgen Hestermann wrote: Does anybody else excluding Paul know what negative fonts sizes mean? I admit a little explenation would help since it is not so trivial. A positive fontsize is the size of a font in points A negative fontsize is the size of a font in points including the internal le

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Jürgen Hestermann
Does anybody else excluding Paul know what negative fonts sizes mean? I admit a little explenation would help since it is not so trivial. A positive fontsize is the size of a font in points A negative fontsize is the size of a font in points including the internal leading at the top of the li

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Marc Weustink
Jürgen Hestermann wrote: Does anybody else excluding Paul know what negative fonts sizes mean? I would like to know that too. I also don't have any idea what negative font sizes could mean. Ok, that could be due to the fact that I havened used Delphi heavily and I am just beginning with Lazar

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Jürgen Hestermann
Does anybody else excluding Paul know what negative fonts sizes mean? I would like to know that too. I also don't have any idea what negative font sizes could mean. Ok, that could be due to the fact that I havened used Delphi heavily and I am just beginning with Lazarus. But even using help o

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread Graeme Geldenhuys
Martin wrote: I have some boxes that run a VGA resolution (either 800*600 or even 640*400) and the dialogs just fit, some even are to big, and it's painfull to impossible to get to the ok button (know where it is, and count tabs untill you believe it has focus). If you are using Gnome you c

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Paul Ishenin wrote: See attached screenshot. Lazarus is not a tool for any user - it is a tool only for programmers. Just because there is an inner technical reason for something, does not mean that needs to be reflected in the user interface. As an ex-delphi programmer you should know a di

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread Martin
Graeme Geldenhuys wrote: Paul Ishenin wrote: Indeed. We are mostly testing with english version. There captions fits fine into designed width. And the same issue appears for Afrikaans language as well. I've said it before and I'll say it again. All modern GUI toolkits support layout manager

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread dmitry boyarintsev
> Lazarus is not a tool for any user - it is a tool only for programmers. As > an ex-delphi programmer you should know a difference between negative and > positive font sizes. What about newcomers? Should we say: "Learn Delphi first, then come back here?" :) Lazarus has been breaking Delphi backwa

Re: [Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Paul Ishenin
Graeme Geldenhuys wrote: Hi, This is a classic case of seeing a problem for so long that later you don't even realize it is there. In all my years of working on computers, Lazarus is the *only* program that specifies font sizes as a negative values. Why? No other GTK2 application shows font

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread Graeme Geldenhuys
Paul Ishenin wrote: Indeed. We are mostly testing with english version. There captions fits fine into designed width. And the same issue appears for Afrikaans language as well. I've said it before and I'll say it again. All modern GUI toolkits support layout managers. These layout managers

[Lazarus] Lazarus has unique font sizes

2009-08-15 Thread Graeme Geldenhuys
Hi, This is a classic case of seeing a problem for so long that later you don't even realize it is there. In all my years of working on computers, Lazarus is the *only* program that specifies font sizes as a negative values. Why? No other GTK2 application shows font sizes as negative values.

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread Samuel Herzog
Hello Florian, on my windows xp it looks the same. So it's as you suspected something with german localization and not a problem in relation with windows 7. Regards, Sam --- Florian Klaempfl schrieb am Sa, 15.8.2009: Von: Florian Klaempfl Betreff: Re: [Lazarus] Lazarus and Windows 7 An: "

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread Paul Ishenin
Florian Klaempfl wrote: No, I suspect German localization, see e.g. attachment. Indeed. We are mostly testing with english version. There captions fits fine into designed width. Best regards, Paul Ishenin. -- ___ Lazarus mailing list Lazarus@list

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread Florian Klaempfl
Paul Ishenin schrieb: > Florian Klaempfl wrote: >> I installed W7 Prof. today on my PC and tested several programs. Lazarus >> basically works though it cannot compile but this could be also to my >> lazarus installation. Nevertheless, some buttons are too small and text >> is clipped. Shall I crea

Re: [Lazarus] Lazarus and Windows 7

2009-08-15 Thread dmitry boyarintsev
Lazarus cannot be recompiled in "Program Files" directory, because Windows 7 forbids writing and or other modifications of .exe,.bat files in this folder. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazar