Re: [Lazarus] update [Re: Code Folding mess and Code Divider feature]

2009-04-10 Thread Alexander Klenin
On Fri, Apr 10, 2009 at 22:10, Martin Friebe laza...@mfriebe.de wrote: 3) 'Folding'/'Divider' buttons are slightly confusing. Maybe it is better to make common list of language constructs with additional 'Fold' checkbox, and make it visible only when needed? Alternatively, how about at least

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project (uses clause in initialization vs implementation?)

2009-04-10 Thread Marco van de Voort
On Fri, Apr 10, 2009 at 02:22:06PM +0400, dmitry boyarintsev wrote: Can compiler detect, if initialized procedure variable is not used and smartlink it off? In the following example: there's a global procedure variable. it's initialized by unit2, that is used by program. but even if it's

Re: [Lazarus] Problem with TFloatSpinEdit component

2009-04-10 Thread Bart
Hi On 4/10/09, Paul Parkyn zl3...@paradise.net.nz wrote: Hello all, I have converted a small Delphi project to Lazarus but I cannot get the TFloatSpinEdit decimal values to display correctly. The component shows the whole number part and no decimal part. I have set the decimal property to 6

Re: [Lazarus] update [Re: Code Folding mess and Code Divider feature]

2009-04-10 Thread Graeme Geldenhuys
On Fri, Apr 10, 2009 at 2:11 PM, Alexander Klenin kle...@gmail.com wrote: BTW, don't you think that per-type divider coloring is an overkill? Perhaps a single color on Colors page would be sufficient? I think it's pretty neat. And if you don't want it, simply don't use it. By default all

Re: [Lazarus] update [Re: Code Folding mess and Code Divider feature]

2009-04-10 Thread Martin Friebe
Alexander Klenin wrote: On Fri, Apr 10, 2009 at 22:10, Martin Friebe laza...@mfriebe.de wrote: 3) 'Folding'/'Divider' buttons are slightly confusing. Maybe it is better to make common list of language constructs with additional 'Fold' checkbox, and make it visible only when needed?

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-10 Thread JoshyFun
Hello Christian, Friday, April 10, 2009, 1:20:43 AM, you wrote: CI That's really 2 statements: CI A) There should be a way to tell the compiler that the hint is expected CI Well, I can't see why this is a given. By definition, hints are things CI that _can_ be potentially dangerous, but it's

Re: [Lazarus] BoxRect

2009-04-10 Thread Bogusław Brandys
Doug Chamberlin pisze: Carlos German Tejero wrote: I use the fxds in a real application made in delphi 7 and work fine. The Delphi version of Desicion cube can only used with BDE TDataSet descendants, the fxds can be used with any TDataSet descendant. That's good to hear! I'm very

Re: [Lazarus] Hints usability

2009-04-10 Thread Christian Iversen
JoshyFun wrote: Hello Christian, Friday, April 10, 2009, 1:20:43 AM, you wrote: CI That's really 2 statements: CI A) There should be a way to tell the compiler that the hint is expected CI Well, I can't see why this is a given. By definition, hints are things CI that _can_ be potentially

Re: [Lazarus] Hints usability

2009-04-10 Thread Vincent Snijders
Christian Iversen schreef: SilenceHint(Sender, X, Y); Or use array of const, like the format function. Vincent ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Hints usability

2009-04-10 Thread JoshyFun
Hello Christian, Friday, April 10, 2009, 10:17:28 PM, you wrote: In other words MY (capital, as it is my problem, maybe not the problem of other people) is that the amount of expected hints are hidding the non-expected ones. CI Right. And as I said, it would probably be more productive to

Re: [Lazarus] Hints usability

2009-04-10 Thread Alexander Klenin
On Sat, Apr 11, 2009 at 07:17, Christian Iversen chriv...@iversen-net.dk wrote: Ok, I can see what you're doing there. In my opinion, it's not very pretty. How about something like this: procedure SilenceHint(const A); inline; begin end; I still prefer compiler-level solution, but if

Re: [Lazarus] Hints usability

2009-04-10 Thread Alexander Klenin
On Sat, Apr 11, 2009 at 07:53, Alexander Klenin kle...@gmail.com wrote: On Sat, Apr 11, 2009 at 07:17, Christian Iversen chriv...@iversen-net.dk wrote: Ok, I can see what you're doing there. In my opinion, it's not very pretty. How about something like this: procedure SilenceHint(const A);

Re: [Lazarus] Hints usability

2009-04-10 Thread JoshyFun
Hello Vincent, Friday, April 10, 2009, 10:31:19 PM, you wrote: VS Christian Iversen schreef: SilenceHint(Sender, X, Y); VS Or use array of const, like the format function. H... array of const does not use variants so it could be fine, in spanish keyboard the combination is quite

Re: [Lazarus] update [Re: Code Folding mess and Code Divider feature]

2009-04-10 Thread Alexander Klenin
On Sat, Apr 11, 2009 at 01:56, Martin Friebe laza...@mfriebe.de wrote: Sorry, no patch from me, but I can create an issue if you want. I have no problems with a separate page, but why do you reject a common list? It seems the best solution to me. Dividers initially could only be set at

Re: [Lazarus] update [Re: Code Folding mess and Code Divider feature]

2009-04-10 Thread Martin Friebe
Alexander Klenin wrote: On Sat, Apr 11, 2009 at 01:56, Martin Friebe laza...@mfriebe.de wrote: Sorry, no patch from me, but I can create an issue if you want. I have no problems with a separate page, but why do you reject a common list? It seems the best solution to me. Dividers

[Lazarus] How to draw a progressbar under a column of a listview?

2009-04-10 Thread 闫程远
hi,all! i just want to know how to draw a progressbar under a specified column of a listview. first i wanted to draw a progressbar.i know there is a method of a TListItem called DisplayRect,but whatever i do,the rect it returns is (0,0,0,0) and whatever i wrote for the drawsubitem/drawitem method