Re: [Lazarus] Error when installing project groups

2015-12-20 Thread Flávio Etrusco
On Sat, Dec 19, 2015 at 1:00 PM, Mattias Gaertner <nc-gaert...@netcologne.de> wrote: > On Fri, 18 Dec 2015 14:49:30 -0300 > Flávio Etrusco <flavio.etru...@gmail.com> wrote: > >>[...] >> I'm also missing some command to view the current Project Group... > &

Re: [Lazarus] Error when installing project groups

2015-12-18 Thread Flávio Etrusco
On Fri, Dec 18, 2015 at 2:06 PM, Mattias Gaertner wrote: > On Thu, 17 Dec 2015 21:42:28 +0100 (CET) > Michael Van Canneyt wrote: > >>[...] >> I tried to install the lazprojectgroups package. >>[...] >> if

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Flávio Etrusco
On Fri, Nov 6, 2015 at 1:42 PM, Michael Van Canneyt wrote: > > > On Fri, 6 Nov 2015, Martin Schreiber wrote: > >> On Friday 06 November 2015 17:20:24 Ondrej Pokorny wrote: >>> >>> >>> Nevertheless I am of the opinion that WITH is evil and should be removed >>> from the

Re: [Lazarus] Theoretical question about future of Lazarus

2015-10-14 Thread Flávio Etrusco
On Wed, Oct 14, 2015 at 5:58 PM, Bo Berglund wrote: > On Mon, 12 Oct 2015 23:13:53 +0300, Juha Manninen > wrote: > > $ time make clean bigide > > I have never seen such a command before, does it print the time the > command following time takes

Re: [Lazarus] IDE - Bookmarks overview window?

2015-09-08 Thread Flávio Etrusco
On Tue, Sep 8, 2015 at 1:51 PM, Graeme Geldenhuys wrote: > On 2015-09-08 17:45, Giuliano Colla wrote: >> You mean View->Debug Windows->BreakPoints (default shortcut Ctrl+Alt+B) >> or something more sophisticated? > > Yes, the same idea as that but for Bookmarks.

Re: [Lazarus] Strange interaction between combox and IniPropStorage

2015-08-14 Thread Flávio Etrusco
On Thu, Aug 13, 2015 at 4:24 AM, Luca Olivetti l...@wetron.es wrote: El 12/08/15 a les 16:37, Luca Olivetti ha escrit: Definitely a regression: I just had to modify an old program (where this feature worked) and it doesn't work anymore :-( At least the workaround seems to do the job. It's

Re: [Lazarus] WMSize loop dectected with AnchorDockingDsgn

2015-08-11 Thread Flávio Etrusco
On Tue, Aug 11, 2015 at 8:42 AM, Anthony Walter sys...@gmail.com wrote: I am encountering a WMSize loop error upon launch of Lazarus on Windows when AnchorDockingDsgn is installed. The error prevents Lazarus from opening. The error occurs when the main Lazarus window is maximized, then you exit

Re: [Lazarus] how to get Type of Sender or Components[i] in order to Cast?

2015-07-27 Thread Flávio Etrusco
On Mon, Jul 27, 2015 at 6:37 AM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: JuuS wrote: On 07/27/2015 09:31 AM, Mark Morgan Lloyd wrote: Péter Gábor wrote: Sorry! I was misreading your mail... you want to know the type of them. You can compare the type of them: if Sender

Re: [Lazarus] Owner of a TCanvas

2015-07-27 Thread Flávio Etrusco
On Mon, Jul 27, 2015 at 6:31 AM, Xiangrong Fang xrf...@gmail.com wrote: Hi There, Can I somehow get the object which owns a Canvas? e.g.: function GetCanvasOwner(ACanvas: TCanvas): TObject; begin Result := ACanvas.Owner; end; pb := TPaintBox(GetCanvasOwner(pb.Canvas); Thanks!

Re: [Lazarus] Lazarus and Application.ProcessMessages

2014-12-07 Thread Flávio Etrusco
On Sat, Dec 6, 2014 at 1:15 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 06 Dec 2014 16:02:40 +0100 JuuS j...@mykolab.ch wrote: Hi all, A bit late with this and haven't read everything through and through but... I worked with Delphi for some time and, yes,

Re: [Lazarus] Component palette reordering

2014-11-21 Thread Flávio Etrusco
On Fri, Nov 21, 2014 at 4:01 AM, Juha Manninen juha.mannine...@gmail.com wrote: On Fri, Nov 21, 2014 at 3:37 AM, Flávio Etrusco flavio.etru...@gmail.com wrote: BTW don't you like the integrated find feature, like in e.g. kzdesktop? How does it work? I have not used kzdesktop? We have

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Flávio Etrusco
On Fri, Nov 21, 2014 at 10:33 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 21 Nov 2014 23:51:13 +0100 Mattias Gaertner nc-gaert...@netcologne.de wrote: (...) Without the AVs you can see the mem leaks. I fixed the three mem leaks. Here's a patch to change the Append method,

Re: [Lazarus] Component palette reordering

2014-11-20 Thread Flávio Etrusco
On Wed, Nov 19, 2014 at 1:37 PM, Juha Manninen juha.mannine...@gmail.com wrote: On Wed, Nov 19, 2014 at 5:52 PM, FreeMan freema...@delphiturkiye.com wrote: Sorry for didn't say before, this job is good. Thanks. Long time ago I was think this. And I thinked, usually programmer use less then

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

2014-11-06 Thread Flávio Etrusco
On Thu, Nov 6, 2014 at 3:41 AM, Sven Barth pascaldra...@googlemail.com wrote: 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

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] [Off Topic] Guys, you know the news?

2014-05-21 Thread Flávio Etrusco
OTOH it was Junior who started the thread about timing. Which can be read as a hint that he can ask for help or he can troll, but not both. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk Yes, he can. He's been doing this for years, you can find other occurences in the forum, the

Re: [Lazarus] Off topic. Version numbers

2014-05-15 Thread Flávio Etrusco
On Thu, May 15, 2014 at 7:36 AM, Santiago A. s...@ciberpiula.net wrote: Have you heard about Semantic Versioning 2.0.0 /http://semver.org/? It is a proposal about how to assign version numbers in order to deal with compatibility and dependences. Perhaps Lazarus should thing about using it.

Re: [Lazarus] Off topic. Version numbers

2014-05-15 Thread Flávio Etrusco
On Thu, May 15, 2014 at 1:29 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Thu, 15 May 2014 13:19:41 -0300 Flávio Etrusco flavio.etru...@gmail.com wrote: On Thu, May 15, 2014 at 7:36 AM, Santiago A. s...@ciberpiula.net wrote: Have you heard about Semantic Versioning 2.0.0 /http

Re: [Lazarus] int64 assignment fails

2014-05-10 Thread Flávio Etrusco
On Sat, May 10, 2014 at 8:40 PM, Tom Lisjac zikon...@gmail.com wrote: fpc-2.6.4-1.x86_64. says Argument can't be assigned to when trying to compile the following: type TickType = Int64; TimebaseData = record TicksFrequency: TickType; end; TEpikTimer= class(TComponent)

Re: [Lazarus] startlazarus crash in Ubuntu 14:04

2014-04-24 Thread Flávio Etrusco
On Thu, Apr 24, 2014 at 6:26 AM, zeljko zel...@holobit.net wrote: On 04/24/2014 09:51 AM, FreeMan wrote: Maybe. I don't use Ubuntu so don't know exactly how many votes can trigger packager to take a look into problem. Someone should write there that libpixman compiled with -mstackrealign

Re: [Lazarus] startlazarus crash in Ubuntu 14:04

2014-04-23 Thread Flávio Etrusco
On Wed, Apr 23, 2014 at 12:56 PM, zeljko zel...@holobit.net wrote: On 04/23/2014 10:14 AM, FreeMan wrote: His problem is with 32 bit. I guess it's because of libpixman which crashes if it isn't compiled with -mstackrealign.We, lazarus developers cannot do anything about this problem. Is

Re: [Lazarus] startlazarus crash in Ubuntu 14:04

2014-04-22 Thread Flávio Etrusco
On Tue, Apr 22, 2014 at 3:01 PM, zel...@holobit.net wrote: On 2014-04-22 09:11, Junior wrote: Lazarus 1.3 r44782M FPC 2.6.2 i386-linux-gtk 2 Ubuntu 14.04 - 32 bits --- Every time I compile lazarus (make clean all) and run the

Re: [Lazarus] TTimer woes (newbie)

2014-03-31 Thread Flávio Etrusco
On Mon, Mar 31, 2014 at 2:24 PM, Bob Axtell bob.axt...@gmail.com wrote: mine (a morse-code blinker) just doesn't work: unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls; type { TForm1 } TForm1 =

Re: [Lazarus] Application.OnShowHint problem

2014-03-30 Thread Flávio Etrusco
On Sun, Mar 30, 2014 at 12:21 PM, Frank Poretzky poret...@nym.mixmin.net wrote: Hi Graeme, on Sun, 30 Mar 2014 10:09:31 +0100, you wrote: On 2014-03-30 04:45, Frank Poretzky wrote: | procedure TFormTest.DoAppOnShowHint( var HintStr: String; | var

Re: [Lazarus] Unable to display symbols

2014-03-08 Thread Flávio Etrusco
On Sat, Mar 8, 2014 at 9:30 PM, Giuliano Colla giuliano.co...@fastwebnet.it wrote: Il 08/03/2014 14:05, Mattias Gaertner ha scritto: On Sat, 08 Mar 2014 13:52:12 +0100 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [snip] What I'm doing wrong? The solution lies in your own mail. Your

Re: [Lazarus] When does ComponentPageControl gets filled?

2014-03-05 Thread Flávio Etrusco
On Thu, Mar 6, 2014 at 3:23 AM, leledumbo leledumbo_c...@yahoo.co.id wrote: I've just installed Lazarus 1.2 and I realize that KZDesktop's way of embedding component palette no longer works as it was in 1.0.14. It looks like KZDesktop has overriden the event when ComponentPageControl gets

Re: [Lazarus] Não encontra o parametro?

2014-03-03 Thread Flávio Etrusco
2014-03-03 16:58 GMT-03:00 William Oliveira Ferreira bdexterholl...@gmail.com: Olá lista, eu tenho um código mamão com açúcar aqui que eu não consigo entender por que cargas d'água não encontra o parâmetro da SQL. Alguém quer chutar algo? var sql_Query : TSQLQuery; begin Result :=

Re: [Lazarus] kzdesktop...

2014-02-12 Thread Flávio Etrusco
On Thu, Feb 6, 2014 at 4:40 PM, Junior lazarus.li...@gmail.com wrote: Hello to all. The kzdesktop project was discontinued? thanks -- FWIW it's easy to make kzdesktop compilable with Lazarus trunk. Where the compiler complains of unknown 'Items' identifier, use 'Comps' instead. To fix the

Re: [Lazarus] kzdesktop...

2014-02-10 Thread Flávio Etrusco
On Fri, Feb 7, 2014 at 1:45 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Flávio Etrusco schrieb: -Flávio PS. I'm Brazilian. Oh, I always thought you were an old Italian guy ;-) DoDi No, that's my cousin, Flavivs Etrvscvs :-p

Re: [Lazarus] kzdesktop...

2014-02-07 Thread Flávio Etrusco
On Fri, Feb 7, 2014 at 12:20 PM, William Oliveira Ferreira bdexterholl...@gmail.com wrote: 2014-02-07 10:03 GMT-02:00 Michael Schnell mschn...@lumino.de: On 02/07/2014 12:51 PM, William Oliveira Ferreira wrote: KZDesktop could be followed by here...

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-06 Thread Flávio Etrusco
On Thu, Feb 6, 2014 at 6:04 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 05.02.2014 23:24, schrieb Flávio Etrusco: On Wed, Feb 5, 2014 at 4:50 PM, Reimar Grabowski reimg...@web.de wrote: On Wed, 5 Feb 2014 12:25:18 +0100 Mattias Gaertner nc-gaert...@netcologne.de wrote: Can we hope

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-06 Thread Flávio Etrusco
On Thu, Feb 6, 2014 at 9:22 AM, Flávio Etrusco flavio.etru...@gmail.com wrote: On Thu, Feb 6, 2014 at 6:04 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 05.02.2014 23:24, schrieb Flávio Etrusco: FWIW if you get an identifier not found error while compiling, the context menu

Re: [Lazarus] kzdesktop...

2014-02-06 Thread Flávio Etrusco
On Thu, Feb 6, 2014 at 4:40 PM, Junior lazarus.li...@gmail.com wrote: Hello to all. The kzdesktop project was discontinued? thanks Raphael never posted to this list and no Lazarus developer contributed to kzdesktop, so what one can say is that there are no commits in the public svn

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-05 Thread Flávio Etrusco
On Wed, Feb 5, 2014 at 4:50 PM, Reimar Grabowski reimg...@web.de wrote: On Wed, 5 Feb 2014 12:25:18 +0100 Mattias Gaertner nc-gaert...@netcologne.de wrote: Can we hope to someday get the feature that Lazarus adds the unit where a type/function/whatever is defined automatically to the uses

Re: [Lazarus] Stream a property (string) of a TCollection derived component to LFM

2014-01-12 Thread Flávio Etrusco
The ticket must be moved/reassgined to Free Pascal project. However I'm wondering how code that invokes ObjValue.InheritsFrom(TPersistent) is working, considering InheristFrom is a class function and ObjValue is TObject... -Flávio On Sun, Jan 12, 2014 at 1:50 PM, FreeMan

Re: [Lazarus] Stream a property (string) of a TCollection derived component to LFM

2014-01-12 Thread Flávio Etrusco
On Sun, Jan 12, 2014 at 9:55 PM, Flávio Etrusco flavio.etru...@gmail.com wrote: However I'm wondering how code that invokes ObjValue.InheritsFrom(TPersistent) is working, considering InheristFrom is a class function and ObjValue is TObject... -Flávio Sorry, brainfart. -Flávio

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-28 Thread Flávio Etrusco
On Sat, Dec 28, 2013 at 2:35 PM, Marius fpclaza...@home.nl wrote: Flávio Etrusco wrote: Yes, but we all know you are a special case :-) Point is if you make conversion harder PEOPLE WILL NOT EVEN TRY! I tend to agree with Graeme on this one. -Flávio My opinion as well, and its already

Re: [Lazarus] New database components in Lazarus 1.0.x

2013-10-09 Thread Flávio Etrusco
On Wed, Oct 9, 2013 at 5:12 AM, Juha Manninen juha.mannine...@gmail.com wrote: On Wed, Oct 9, 2013 at 11:00 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: Generally new features are not backported. Only bug fixes are. Please use trunk if you need a feature which is only in trunk.

Re: [Lazarus] Memory leak in PascalScript

2013-09-25 Thread Flávio Etrusco
On Wed, Sep 25, 2013 at 12:27 AM, silvioprog silviop...@gmail.com wrote: Hello, Can you help me to fix this issue?: https://github.com/remobjects/pascalscript/issues/61 Thank you! -- Silvio Clécio My public projects - github.com/silvioprog -- I guess the fpc-pascal list is a better

Re: [Lazarus] TTreenode.data

2013-09-11 Thread Flávio Etrusco
On Wed, Sep 11, 2013 at 5:41 AM, Howard Page-Clark h...@talktalk.net wrote: Also unless you want the treeview to behave as if it were fully initialised with Data integer values of zero, you would need to add: procedure TfrmMain.tvMainChange(Sender: TObject; Node: TTreeNode); begin if

Re: [Lazarus] TTreenode.data

2013-09-11 Thread Flávio Etrusco
On Wed, Sep 11, 2013 at 6:19 AM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-09-11 06:51, Richard Mace wrote: Can anyone give me an example of adding and retrieving an integer value to a TTreenode via it's data property please? The Data property holds a pointer value, so don't

Re: [Lazarus] Remote Registry...

2013-08-22 Thread Flávio Etrusco
On Thu, Aug 22, 2013 at 9:55 PM, waldo kitty wkitt...@windstream.net wrote: On 8/22/2013 16:46, Liyuan Garcia Caballero wrote: Hi guys, I need access to remote registry of Microsoft Window and get a data, it's posible with Pascal? of course it is possible... the question is how are you

Re: [Lazarus] Shell notifications

2013-08-21 Thread Flávio Etrusco
On Wed, Aug 21, 2013 at 9:36 AM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Michael Schnell wrote: On 08/20/2013 02:56 PM, Henry Vermaak wrote: ... together with select().. In Object Pascal I think this should be encapsulated in a thread and same fires a main Thread event

Re: [Lazarus] Can't make working sorting inTListView

2013-07-29 Thread Flávio Etrusco
On Mon, Jul 29, 2013 at 10:20 AM, Geoffray Levasseur-Brandin jeff.levass...@free.fr wrote: Hello all !! I've got a problem with the following code : procedure TfMain.lvPackageListColumnClick(Sender: TObject; Column: TListColumn); begin if Column.Index = FLastSortedColumn then

Re: [Lazarus] Lazarus, Jedi etc.

2013-07-15 Thread Flávio Etrusco
On Mon, Jul 15, 2013 at 1:40 PM, Ludo Brands ludo.bra...@free.fr wrote: Need other default (mis)behaviors for MySQL? -insert 123test in an integer field: no error, it inserts 123 -insert 123test in a datetime field: no error, it inserts -00-00 00:00:00 -insert 123 in a datetime field: no

Re: [Lazarus] Unicode branch

2013-06-30 Thread Flávio Etrusco
On Sat, Jun 29, 2013 at 4:43 PM, Marcos Douglas m...@delfire.net wrote: On Fri, Jun 28, 2013 at 1:07 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Graeme Geldenhuys schrieb: On 2013-06-27 21:32, Hans-Peter Diettrich wrote: I don't see how this is related to managed objects. If FPC

Re: [Lazarus] TextHeight in Console App

2013-05-16 Thread Flávio Etrusco
On Thu, May 16, 2013 at 4:33 AM, Michael Schnell mschn...@lumino.de wrote: On 05/15/2013 05:40 PM, Graeme Geldenhuys wrote: The NoGUI widgetset is a terrible idea (work-around), and should be avoided if possible. You are right, but IMHO this is because it is not complete enough.

Re: [Lazarus] TextHeight in Console App

2013-05-15 Thread Flávio Etrusco
On Wed, May 15, 2013 at 11:02 AM, Edilson Vieira vieira.edil...@gmail.com wrote: 2013/5/15 Michael Schnell mschn...@lumino.de On 05/14/2013 04:50 PM, Howard Page-Clark wrote: Or create a Lazarus GUI app and implement Form1's OnCreate handler thus: Not all Targets an application might be

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Flávio Etrusco
On Mon, Apr 29, 2013 at 1:34 PM, Jürgen Hestermann juergen.hesterm...@gmx.de wrote: After having moved from TStringList over TStringGrid (which both cannot be shifted right to make long text visible) I now use TMemo. But again I have another issue with this component: If there are more rows

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Flávio Etrusco
On Mon, Apr 29, 2013 at 1:38 PM, K. P. platyster...@hotmail.com wrote: Have you tried wrapping your writes in memo1.Lines.BeginUpdate and memo1.Lines.BeginUpdate? On the contrary. I would expect Begin/EndUpdate to increase flickering, because they'll usually trigger a full repaint. They are

Re: [Lazarus] TMemo flicker

2013-04-30 Thread Flávio Etrusco
On Tue, Apr 30, 2013 at 6:52 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 30 Apr 2013, José Mejuto wrote: El 30/04/2013 10:31, Michael Van Canneyt escribió: Your solution of course is mutch faster but I thought seeing the progress is important for Jürgen. In that case

Re: [Lazarus] Lazarus CCR repository URL's have changed

2013-04-29 Thread Flávio Etrusco
On Mon, Apr 29, 2013 at 9:32 PM, waldo kitty wkitt...@windstream.net wrote: On 4/29/2013 20:05, Maxim Ganetsky wrote: (...) Of course this is not needed, there is 'svn relocate' command. maybe in your SVN software stuff but not in everyone else's... at least, i haven't found such in

Re: [Lazarus] SIGSEGV when trying to use a TCustomControl

2013-04-19 Thread Flávio Etrusco
On Fri, Apr 19, 2013 at 10:27 AM, Leonardo M. Ramé l.r...@griensu.com wrote: I'm creating a very basic TCustomControl with just a Constructor and its Destructor. TMyCustomControl = class(TCustomControl) public constructor Create(TheOwner: TComponent);override; destructor Destroy;

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-17 Thread Flávio Etrusco
On Wed, Apr 17, 2013 at 5:10 PM, Juha Manninen juha.mannine...@gmail.com wrote: On 4/16/13, Flávio Etrusco flavio.etru...@gmail.com wrote: We should? I must? ;-) Sorry I didn't express myself right. But I think it's very important to make Lazarus easier to try/install. I tried to dip my foot

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-16 Thread Flávio Etrusco
On Tue, Apr 16, 2013 at 8:15 AM, Juha Manninen juha.mannine...@gmail.com wrote: On 4/16/13, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: Closer to home... the FPC and Lazarus versions in Ubuntu, Debian etc repositories are always out of date - often 1-2 release behind. Now with Lazarus's

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-16 Thread Flávio Etrusco
On Tue, Apr 16, 2013 at 12:46 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 16 Apr 2013 12:32:08 -0300 Flávio Etrusco flavio.etru...@gmail.com wrote: [...] We must try to keep distros more up-to-date, even lazarus own repository was very outdated the last time I tried. We

Re: [Lazarus] Is Mantis bad as i thought

2013-04-05 Thread Flávio Etrusco
Yes, it's as bad you think, if not worse. Time to write a bugtracker in Pascal? ;-) On Thu, Apr 4, 2013 at 4:29 PM, Zaher Dirkey parm...@gmail.com wrote: I have monitored many bugs in Mantis, but no email for changes to notify me about this bugs even if i am the reporter. There is no option

Re: [Lazarus] Is Mantis bad as i thought

2013-04-05 Thread Flávio Etrusco
On Fri, Apr 5, 2013 at 9:29 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-04-05 17:51, Flávio Etrusco wrote: Time to write a bugtracker in Pascal? ;-) I am. It should be released later this year. It's desktop based (I hate web apps), has code repository integration (reports

Re: [Lazarus] TTreeView question

2013-03-28 Thread Flávio Etrusco
On Thu, Mar 28, 2013 at 10:30 AM, Lubos Pintes pin...@gmail.com wrote: Hello, Am I correctly guessing that TTreeView is not based on platform native implementation? Thank TTreeView is based on platform/widgetset native implementation. -Flávio --

Re: [Lazarus] TTreeView question

2013-03-28 Thread Flávio Etrusco
On Thu, Mar 28, 2013 at 11:22 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Flávio Etrusco flavio.etru...@gmail.com hat am 28. März 2013 um 14:39 geschrieben: On Thu, Mar 28, 2013 at 10:30 AM, Lubos Pintes pin...@gmail.com wrote: Hello, Am I correctly guessing that TTreeView

Re: [Lazarus] Main Form Visibility problems (Was Should TTrayIcon Work)

2013-03-25 Thread Flávio Etrusco
On Thu, Mar 21, 2013 at 4:46 AM, Tommi Prami tommi.pr...@gmail.com wrote: (...) If I had code like this // Idea is to get rid of app from the Task Bar Self.WindowsState := wsMinimized; Self.Visible := False; And then I had in TTrayIcon event if not Self.Visible then begin .. Try

Re: [Lazarus] TEditButton alignment

2013-03-19 Thread Flávio Etrusco
On Mon, Mar 18, 2013 at 6:51 PM, Juha Manninen juha.mannine...@gmail.com wrote: On Mon, Mar 18, 2013 at 11:41 PM, Flávio Etrusco flavio.etru...@gmail.com wrote: I had a patch which fixed alignment problems (I know of) by making the margin calculation virtual and placing the button inside/over

Re: [Lazarus] TEditButton alignment

2013-03-18 Thread Flávio Etrusco
On Mon, Mar 18, 2013 at 5:48 PM, Juha Manninen juha.mannine...@gmail.com wrote: It is a well known issue that TEditButton aligns wrong. In the last note of issue http://bugs.freepascal.org/view.php?id=12155 Mattias writes : The best solution is to redesign TEditButton as an edit and a

Re: [Lazarus] Fixes 2.6.2 cod breaks 2.6.0 code?

2013-03-13 Thread Flávio Etrusco
On Wed, Mar 13, 2013 at 1:10 PM, Frank Church vfcli...@gmail.com wrote: Upgrading to Lazarus 1.0.7 with FPC 2.6.2 raised this error in a file I was compiling? What does it mean? procedure TRxDBGrid.CheckNewCachedSizes(var AGCache: TGridDataCache); begin if (rdgFooterRows in OptionsRx) and

Re: [Lazarus] Editor component

2013-03-08 Thread Flávio Etrusco
On Fri, Mar 8, 2013 at 12:02 PM, Martin laza...@mfriebe.de wrote: On 08/03/2013 14:57, Timothy Groves wrote: I need an editor component with two features: Undo and word wrapping. SynEdit/SynMemo do not support word wrapping. Memo does not support undo. What is my best option? There is a

Re: [Lazarus] buffer and string

2013-03-03 Thread Flávio Etrusco
On Sun, Mar 3, 2013 at 3:17 AM, Xiangrong Fang xrf...@gmail.com wrote: If a buffer expect the first element, and count is the number of elements to write, then what is the unit size of that element? is it always byte? Yes - count is the number of bytes, not the number of elements. --

Re: [Lazarus] Using the clipboard in linux

2013-03-03 Thread Flávio Etrusco
On Sun, Mar 3, 2013 at 1:20 PM, appjaws laza...@appjaws.plus.com wrote: How do I save, copy to and paste from the clipboard using a kde environment on linux 64? I am using Lazarus 1.0.6 and fpc 2.6.0. Thanks for any help Paul Add unit 'Clipbrd', then Clipboard.AsText := 'something'; For

Re: [Lazarus] exception handling in constructor

2013-03-02 Thread Flávio Etrusco
On Sat, Mar 2, 2013 at 7:51 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Sat, 2 Mar 2013, Howard Page-Clark wrote: On 02/03/13 5:45, Flávio Etrusco wrote: On Fri, Mar 1, 2013 at 11:49 PM, Xiangrong Fang xrf...@gmail.com wrote: (...) Also, setting Self to nil is nonsense

Re: [Lazarus] Ok I give up!

2013-03-02 Thread Flávio Etrusco
On Sat, Mar 2, 2013 at 11:36 AM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Reinier Olislagers schrieb: What is *not* clear, to the OP and many other users, that the required functionality is *not* found directly in TMemo, but resides in a property (.Lines) of it. In such cases code

Re: [Lazarus] exception handling in constructor

2013-03-01 Thread Flávio Etrusco
On Fri, Mar 1, 2013 at 11:49 PM, Xiangrong Fang xrf...@gmail.com wrote: Hi there, If my class constructor looks like this: constructor TMyClass.Create(fn: string); begin sl := TStringList.Create; try fs := TFileStream.Create(fn, fmOpenRead); except self.Destroy; end;

[Lazarus] Unused field in extdlgs.pas

2013-02-17 Thread Flávio Etrusco
Hello, in case anybody is interested in a small cleanup: Index: extdlgs.pas === --- extdlgs.pas(revision 40325) +++ extdlgs.pas(working copy) @@ -140,7 +140,6 @@ FLayout: TCalculatorLayout; FValue: Double;

Re: [Lazarus] GetSystemDirectory

2013-02-17 Thread Flávio Etrusco
Well, what would it return in Linux? 2013/2/17 Juha Manninen juha.mannine...@gmail.com: Hi Is there anything cross-platform similar with Windows GetSystemDirectory? Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

2013-01-21 Thread Flávio Etrusco
On Mon, Jan 21, 2013 at 7:00 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 21.01.2013 04:54, schrieb Alexander Klenin: On Mon, Jan 21, 2013 at 4:43 AM, Sven Barth pascaldra...@googlemail.com wrote: case gradeSelected of '12'..'12': tuitionFee := '14500.00';

Re: [Lazarus] errors: Upper bound of case range is less than lower bound and duplicate case label

2013-01-21 Thread Flávio Etrusco
On Mon, Jan 21, 2013 at 7:36 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 21 Jan 2013 22:19:58 +0100 Bart bartjun...@gmail.com wrote: On 1/21/13, Sven Barth pascaldra...@googlemail.com wrote: Should case of string really allow ranges? THAT is an interesting question.

Re: [Lazarus] TDBNavigator icons break symmetry

2012-10-03 Thread Flávio Etrusco
On Tue, Oct 2, 2012 at 7:28 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2012-10-02 20:45, Bart wrote: Maybe we could make the glyphs customizable, and keep everybody happy? Very true. And frankly, I'm quite surprise that the TDBNavigator doesn't have an ImageList property to do

Re: [Lazarus] TPanel.ComponentCount

2012-09-04 Thread Flávio Etrusco
On Tue, Sep 4, 2012 at 4:58 PM, patspiper patspi...@gmail.com wrote: On 04/09/12 22:51, ik wrote: Hello, I'm trying to do the following code: for i := 0 to vispan.ComponentCount -1 do begin if vispan.Components[i] is TSpeedButton then begin if

Re: [Lazarus] Please remove Arabic language from the release version

2012-08-04 Thread Flávio Etrusco
Portuguese users can't read Portuguese, so they are even completely unable to find language switch? Interesting. :) Nope. Brazilians know how to read Brazilian Portuguese well, but we, in everyday life, usually we use for example the word Watches instead of Observadores, because the

Re: [Lazarus] Please remove Arabic language from the release version

2012-08-04 Thread Flávio Etrusco
On Sat, Aug 4, 2012 at 8:59 AM, Maxim Ganetsky gan...@narod.ru wrote: 04.08.2012 14:20, Flávio Etrusco пишет: Keep counting ;) The pt_BR locale is plenty of small errors and suboptimal translations. We need to reach to Marcelo and help him make a usable translation. What is the problem

Re: [Lazarus] KZdesktop: tabbed IDE package

2012-07-23 Thread Flávio Etrusco
Am 23.07.2012 17:46, schrieb Reinier Olislagers: (...) There's a Lazarus package written by Raphaelz from the forum that implements a tabbed layout for Lazarus instead of the standard layout. Seems very interesting, thanks for sharing! On Mon, Jul 23, 2012 at 3:27 PM, John Landmesser

Re: [Lazarus] Feature suggestion: reopen last closed tab.

2012-06-06 Thread Flávio Etrusco
On Wed, Jun 6, 2012 at 5:21 AM, Torsten Bonde Christiansen t...@epidata.info wrote: Hi List. I would like to suggest a new feature to the Source Notebook Commands, where it is possible to re-open the last closed tab in source editor. Just like it is known from eg. Firefox where CTRL+SHIFT+T

Re: [Lazarus] RE : Improve watches dialog [was: Re: Improve messagedialog]

2012-05-19 Thread Flávio Etrusco
On Fri, May 18, 2012 at 8:01 AM, Ludo Brands ludo.bra...@free.fr wrote: But I like to have another feature, Stay on top for debug watches dialog and Inspect Debug, because I can inspect more than variable and need to watch it changing step by step. Thanks a lot +1 A button that makes the

Re: [Lazarus] Debugger problems

2012-05-09 Thread Flávio Etrusco
Hi, Since you said in the other thread that you wiped your Lazarus configuration, did you remember do reconfigure the debugger in the IDE? (a default I'd love to change...) Regards, Flávio On Wed, May 9, 2012 at 7:41 PM, Leonardo M. Ramé l.r...@griensu.com wrote: I'm using Lazarus Fpc compiled

Re: [Lazarus] Hashtags

2012-04-05 Thread Flávio Etrusco
I think we should use #lazarus-ide, just like the IRC channel name. But AFAICS #Lazarus is actually used by @LazarusDev . 2012/4/3 Richard Mace richard.m...@gmail.com: Hi All, Do we have a prefered twitter hashtag for Lazarus? I did try #Lazarus but that doesn't seem to have anything to do

Re: [Lazarus] Setting ModalResult

2012-03-13 Thread Flávio Etrusco
Do you set the ModalResult in the button or in the form? If the former, is there any specific reason for it? Best regards, Flávio 2012/3/13 Richard Mace rich...@shrinkyourbills.co.uk: Installed the latest RC4 binaries and still the same problem On 13 Mar 2012 07:07, Reinier Olislagers

Re: [Lazarus] How well should Lazarus check method parameters?

2012-02-24 Thread Flávio Etrusco
On Wed, Feb 22, 2012 at 6:55 PM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: I've just spotted this in my code: (...) .. procedure TListForm.FormCloseQuery(Sender: TObject; CanClose: Boolean); Those were inserted by some old version of the IDE, presumably the current version

Re: [Lazarus] How well should Lazarus check method parameters?

2012-02-24 Thread Flávio Etrusco
On Fri, Feb 24, 2012 at 10:42 AM, Vincent Snijders vincent.snijd...@gmail.com wrote: Op 24 februari 2012 13:13 heeft Flávio Etrusco flavio.etru...@gmail.com het volgende geschreven: I can't see any way to justify this not being catch by the compiler as an _error_. We should report

Re: [Lazarus] installing chm help

2012-02-17 Thread Flávio Etrusco
On Fri, Feb 17, 2012 at 7:59 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 17 February 2012 11:29, Mattias Gaertner wrote: Any Lazarus release installed the FPC sources too. Not under Linux it doesn't. I just checked. The APT repository has a recommended flag for the fpc-source

Re: [Lazarus] Fast drawing to canvas

2012-02-08 Thread Flávio Etrusco
On Wed, Feb 8, 2012 at 7:39 AM, Sven Barth pascaldra...@googlemail.com wrote: Am 08.02.2012 01:07, schrieb dhkblas...@zeelandnet.nl: Hi, I'm drawing a bitmap to the canvas by using LoadFromRawImage in combination with a TImage. The OnPaint code below works just fine. When I move the

Re: [Lazarus] Strange behavior on creationg TMenuItem

2011-12-02 Thread Flávio Etrusco
2011/12/2 Everton Vieira tonvie...@gmail.com: I've just make some like that: for i := 0 to 10 do begin   MenuItem := TMenuItem.Create(Self);   MenuItem.Caption := 'tst ' + IntToStr(i);   PopMenu.Add(MenuItem);   ShowMessage(MenuItem.Name); end; Despite the MenuItem is created in the

Re: [Lazarus] Working with RTF

2011-11-16 Thread Flávio Etrusco
2011/11/16 Juha Manninen juha.mannine...@gmail.com: 2011/11/16 l...@lucifael.com l...@lucifael.com I am new to LAzarus and work almost entirely in a Windows environment.  I'm trying to create an application that edit's text in an RTF way and while I ve looked at RichEdit (I think is the

Re: [Lazarus] Use of .lps files to avoid unnecessary changes to .lpi files

2011-10-13 Thread Flávio Etrusco
file in project directory the default. 2011/10/10 Reinier Olislagersreinierolislag...@gmail.com: On 10-10-2011 14:32, Flávio Etrusco wrote: 2011/10/9 Frank Churchvfcli...@gmail.com: I just read this blog article http://www.lazarussupport.com/lazarus/weblog

Re: [Lazarus] Use of .lps files to avoid unnecessary changes to .lpi files

2011-10-13 Thread Flávio Etrusco
Oops, I've just seen Vincent acknowledged the bug. Vincent, I'll take that as you agree with it ;-) 2011/10/13 Flávio Etrusco flavio.etru...@gmail.com: If Mattias or Vincent say they agree with the change, it's probably a one- or two-liner... On Thu, Oct 13, 2011 at 8:57 AM, Benito van der

Re: [Lazarus] Use of .lps files to avoid unnecessary changes to .lpi files

2011-10-10 Thread Flávio Etrusco
2011/10/9 Frank Church vfcli...@gmail.com: I just read this blog article http://www.lazarussupport.com/lazarus/weblog/project_settings_in_delphi_and_lazarus about how Lazarus can store IDE settings in .lps files to stop causing needless changes to the .lpi which messes up version control. I

Re: [Lazarus] Platform dependent modifier for common shortcut-keys?

2011-10-08 Thread Flávio Etrusco
Another approach might be to have a widgetset function like: function KeyCombo_IsCut(const Key: Word; const Shift: TShiftState): Boolean or something like: type  TCommonShortCut = (tcsUnknown,tcsCut, tcsPaste, tcsCopy, tcsBof, tcsEof); function KeyComboToCommonShortcut(const Key: Word;

[Lazarus] What's the reasoning behind the mass change of bugs to Acknowledged?

2011-10-07 Thread Flávio Etrusco
Are they really being analyzed or is this just a flag for some later operation? Best regards, Flávio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Clipboard changes

2011-10-07 Thread Flávio Etrusco
Hello, I would like some feedback by anyone using or knowledgeable in the LCL clipboard design on the changes introduced by this (already committed) patch: http://bugs.freepascal.org/view.php?id=20089 -Flávio -- ___ Lazarus mailing list

Re: [Lazarus] Platform dependent modifier for common shortcut-keys?

2011-10-07 Thread Flávio Etrusco
On Fri, Oct 7, 2011 at 2:09 PM, Bart bartjun...@gmail.com wrote: On 10/6/11, Hans-Peter Diettrich drdiettri...@aol.com wrote: That's up to the low-level keyboard functions, which translate physical keys into ssCtrl etc.  But then ssMeta also could map to the Apple and Windows key, depending

Re: [Lazarus] Clipboard changes

2011-10-07 Thread Flávio Etrusco
On Fri, Oct 7, 2011 at 6:31 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 7 Oct 2011 14:35:18 -0300 Flávio Etrusco flavio.etru...@gmail.com wrote: On Fri, Oct 7, 2011 at 1:37 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 7 Oct 2011 13:26:16 -0300 Flávio

Re: [Lazarus] TShiftState lock states in mousewheel events

2011-10-04 Thread Flávio Etrusco
AFAICS the key state will report whether the lock key is pressed down, not it's toggled state. No, at least in my tests on Win32 they did indicate toggled state. Otherwise | would not have a problem in the first place. -- Alexander S. Klenin -- My bad, indeed the code checks for toggled

Re: [Lazarus] TShiftState lock states in mousewheel events

2011-10-03 Thread Flávio Etrusco
On Mon, Oct 3, 2011 at 4:20 AM, Alexander Klenin kle...@gmail.com wrote: The TShiftState enum in LCL includes ssNum, ssCaps and ssScroll elements, which should indicate the state of NumLock, CapsLock and ScrollLock correspondingly. However under Win32 KeyDown/Up and MoudeUp/Down/Move events

  1   2   3   >