[Lazarus] LazReport - Child band feature

2014-11-05 Thread Gabor Boros
Hi All, I want to see and use child bands in LazReport. Opened an issue in the bugtracker and attached diff files (used trunk 46747). Please review, try, comment. http://bugs.freepascal.org/view.php?id=26996 Gabor -- ___ Lazarus mailing list

Re: [Lazarus] TFMTBCDField problem

2014-11-05 Thread Chris Rempas
You were correct! changing to the correct path does not compile again! i get just one line with error :registerfcl.pas(43,3) Fatal: Can not find unit ServiceManager used by RegisterFCL. Check if package FCL is in the dependencies. Regards,Chris On Monday, November 3, 2014 5:38 PM, Joost

[Lazarus] OT: Fast image viewer

2014-11-05 Thread Leonardo M. Ramé
Hi, I'm lookig for a fast-small JPEG/BMP image viewer with Zoom, Pan, and Print (if possible), to be launched from my application and passing a File param or better a Stream to be opened. Can anyone recommend such viewer?. I need it for Windows. Regards, -- Leonardo M. Ramé Medical IT -

[Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Werner Pamler
For fpspreadsheet I would like to implement the feature of Excel or Libre/OpenOffice that multiple cell ranges can be selected. The grid component in this package, TsSpreadsheetGrid, currently can select only a single range (if goRangeSelect is in the grid's Options) due to its inheritance

Re: [Lazarus] lazarus trunk compile fails with fpc trunk

2014-11-05 Thread Joost van der Sluis
On 11/04/2014 04:50 PM, waldo kitty wrote: i updated my fpc trunk last night to 28981 and this morning i updated my lazarus trunk to 46747... fpc built properly with no problems... lazarus, on the other hand, gave me the following failure output... $004AA2F3

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread leledumbo
In my understanding, the elements of a set correspond to the bits of an integer. In a 32-bit OS, therefore, a set can only contain 32 elements - there is one too many now... Is this interpretation correct? http://www.freepascal.org/docs-html/prog/progsu163.html#x207-228.2.8 --

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Michael Van Canneyt
On Wed, 5 Nov 2014, Werner Pamler wrote: For fpspreadsheet I would like to implement the feature of Excel or Libre/OpenOffice that multiple cell ranges can be selected. The grid component in this package, TsSpreadsheetGrid, currently can select only a single range (if goRangeSelect is in

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Bart
On 11/5/14, Werner Pamler werner.pam...@freenet.de wrote: Recompiling the package LCLBase fails with the error: Property can't have a default value. I think this message is misleading and confusing because the true issue seems to me that the set of TGridOptions now contains 33 elements. In my

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Rik van Kekem
So it's not that the set can't hold more than 32 items... It's just you can't use *default* for a property if the set's base has more than 32 values. This is from the Delphi manual (but I'm sure it also applies to FPC): quote The default and nodefault directives are supported only for ordinal

Re: [Lazarus] OT: Fast image viewer

2014-11-05 Thread Frederic Da Vitoria
2014-11-05 13:24 GMT+01:00 Leonardo M. Ramé l.r...@griensu.com: Hi, I'm lookig for a fast-small JPEG/BMP image viewer with Zoom, Pan, and Print (if possible), to be launched from my application and passing a File param or better a Stream to be opened. Can anyone recommend such viewer?. I

[Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Werner Pamler
Thanks to all. What I learn from the answers is that a set *can* contain more than 32 elements, but exceeding this number would break existing forms. And the option of not specifying a default value would break existing forms as well because their non-stored defaults would not be there any

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Mattias Gaertner
On Wed, 05 Nov 2014 19:12:04 +0100 Werner Pamler werner.pam...@freenet.de wrote: [...] The next guy wanting to add a new option to TGridOptions, however, will face that same issue again. Maybe new options will have to be split off into a new OptionsEx property. You can name it Options2 like

Re: [Lazarus] OT: Fast image viewer

2014-11-05 Thread Leonardo M. Ramé
El 05/11/14 a las 15:08, Frederic Da Vitoria escibió: 2014-11-05 13:24 GMT+01:00 Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com: Hi, I'm lookig for a fast-small JPEG/BMP image viewer with Zoom, Pan, and Print (if possible), to be launched from my application and

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Frederic Da Vitoria
2014-11-05 18:35 GMT+01:00 Rik van Kekem r...@graficalc.nl: So it's not that the set can't hold more than 32 items... It's just you can't use *default* for a property if the set's base has more than 32 values. This is from the Delphi manual (but I'm sure it also applies to FPC): quote The

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Rik van Kekem
On 05-11-2014 19:31, Frederic Da Vitoria wrote: So the error message is not misleading at all ;) quote Error: Property can’t have a default value Set properties or indexed properties cannot have a default value. /quote This may be me misunderstanding English, but I feel

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Howard Page-Clark
On 05/11/2014 18:58, Rik van Kekem wrote: So it should be something like this (with my limited English): *Error: Property can't have a default value* Set properties or indexed properties cannot have a default value if the upper and lower bounds of the set's base type have ordinal values

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Rik van Kekem
On 05-11-2014 20:11, Howard Page-Clark wrote: I think you meant: ... cannot have a default value if the upper or lower bounds of the set's (or array's) base type have ordinal values *outside* the range 0..31. Yep That would be better ;) (That's what you get when you try to merge two

Re: [Lazarus] TFMTBCDField problem

2014-11-05 Thread Chris Rempas
so where do i send the flowers? :) and another question...where is the conversation about the string --- UTF8Sting convertions? i had to use UTF8String in a library and is not compiling now because i call UTF8Delete and it says that parameter arguments must match exactly On Wednesday,

Re: [Lazarus] lazarus trunk compile fails with fpc trunk

2014-11-05 Thread waldo kitty
On 11/5/2014 10:14 AM, Joost van der Sluis wrote: On 11/04/2014 04:50 PM, waldo kitty wrote: i updated my fpc trunk last night to 28981 and this morning i updated my lazarus trunk to 46747... fpc built properly with no problems... lazarus, on the other hand, gave me the following failure

Re: [Lazarus] lazarus trunk compile fails with fpc trunk

2014-11-05 Thread waldo kitty
On 11/5/2014 10:14 AM, Joost van der Sluis wrote: On 11/04/2014 04:50 PM, waldo kitty wrote: i updated my fpc trunk last night to 28981 and this morning i updated my lazarus trunk to 46747... fpc built properly with no problems... lazarus, on the other hand, gave me the following failure

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Flávio Etrusco
On Wed, Nov 5, 2014 at 12:33 PM, Bart bartjun...@gmail.com wrote: On 11/5/14, Werner Pamler werner.pam...@freenet.de wrote: Recompiling the package LCLBase fails with the error: Property can't have a default value. I think this message is misleading and confusing because the true issue seems

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread leledumbo
Rik van Kekem wrote On 05-11-2014 20:11, Howard Page-Clark wrote: I think you meant: ... cannot have a default value if the upper or lower bounds of the set's (or array's) base type have ordinal values *outside* the range 0..31. Yep That would be better ;) (That's what you get when you

[Lazarus] Existence of Lazarus package for DragonFly BSD

2014-11-05 Thread Mehmet Erol Sanliturk
Dears All , Is there a package of Lazarus ( and fpc , fpc-src ) for DragonFly BSD which I can download and install and use ? In the dPorts , there is only fpc-doc package . Thank you very much . Mehmet Erol Sanliturk -- ___ Lazarus mailing list

Re: [Lazarus] Having more than 32 elements in a set (TGridOptions of TCustomGrid)

2014-11-05 Thread Sven Barth
On 06.11.2014 04:43, Flávio Etrusco wrote: Default values must be of ordinal, pointer or small set type (Delphi) (See: http://docwiki.embarcadero.com/RADStudio/XE7/en/E2146_Default_values_must_be_of_ordinal,_pointer_or_small_set_type_%28Delphi%29) After you added the 33-rd option now