Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Michael Van Canneyt via Lazarus
On Sun, 18 Feb 2018, Martok via Lazarus wrote: Am 18.02.2018 um 20:39 schrieb Michael Van Canneyt via Lazarus: It's already fixed in SVN :) FYI: Line 121 contains a double http:// Line 234 is missing a "y" on "necessar_y_". Also, while we're apparently in the off-topic section of this

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Giuliano Colla via Lazarus
Il 18/02/2018 19:06, Graeme Geldenhuys via Lazarus ha scritto: Are there any defined tests or test projects that can confirm LCL-Win32 is compatible with Delphi's VCL? I'm talking about events, order of events firing. I hope that nobody will spend time which could be used for constructive

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Giuliano Colla via Lazarus
Il 18/02/2018 19:42, Ondrej Pokorny via Lazarus ha scritto: Do you mean TForm.OnPaint? Yes, sorry for the typo. Giuliano -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Martok via Lazarus
Am 18.02.2018 um 20:39 schrieb Michael Van Canneyt via Lazarus: > It's already fixed in SVN :) FYI: Line 121 contains a double http:// Line 234 is missing a "y" on "necessar_y_". Also, while we're apparently in the off-topic section of this thread, a thought: """ fpc is designed to be, as much

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Ondrej Pokorny via Lazarus
On 18.02.2018 20:39, Michael Van Canneyt via Lazarus wrote: On Sun, 18 Feb 2018, Ondrej Pokorny via Lazarus wrote: The FPC team just forgot to update an outdated page. It's already fixed in SVN :) I expected Graeme to send a patch and help a little bit but you were obviously eager to fix

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Michael Van Canneyt via Lazarus
On Sun, 18 Feb 2018, Ondrej Pokorny via Lazarus wrote: On 18.02.2018 19:48, Graeme Geldenhuys via Lazarus wrote: I understood that, I just wasn't sure if that was a "FPC goal" like the statement mentioned the D7 goal. I assumed any features post D7 was just a bonus - thanks to development

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Ondrej Pokorny via Lazarus
On 18.02.2018 19:06, Graeme Geldenhuys via Lazarus wrote: On 2018-02-18 10:09, Ondrej Pokorny via Lazarus wrote: Yes, it does. It is Delphi. 1) Not everybody owns a copy of Delphi to compare. Since when is it a good idea to have a Open Source project rely on a Commercial product. Come on,

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Florian Klämpfl via Lazarus
Am 18.02.2018 um 19:48 schrieb Graeme Geldenhuys via Lazarus: > On 2018-02-18 18:34, Michael Van Canneyt via Lazarus wrote: >> That said, a small look at the language guide will of course convince even >> the most malicious person that we also aim to be compatible - at the >> language level -

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Graeme Geldenhuys via Lazarus
On 2018-02-18 18:34, Michael Van Canneyt via Lazarus wrote: That said, a small look at the language guide will of course convince even the most malicious person that we also aim to be compatible - at the language level - with recent Delphis... I understood that, I just wasn't sure if that

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Ondrej Pokorny via Lazarus
On 18.02.2018 17:19, Giuliano Colla wrote: Il 18/02/2018 11:54, Ondrej Pokorny ha scritto: What events are generated? onFormPaint Do you mean TForm.OnPaint? --- No, no, no, no. Setting MyLabel.Color and any other visual property does NOT fire any paint event/method/whatever - neither in

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Michael Van Canneyt via Lazarus
On Sun, 18 Feb 2018, Florian Klämpfl via Lazarus wrote: Am 18.02.2018 um 19:18 schrieb Graeme Geldenhuys via Lazarus: On 2018-02-18 18:14, Graeme Geldenhuys via Lazarus wrote: On 2018-02-18 18:10, Florian Klämpfl via Lazarus wrote: What makes you think so? Michael van Canneyt. And

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Florian Klämpfl via Lazarus
Am 18.02.2018 um 19:18 schrieb Graeme Geldenhuys via Lazarus: > On 2018-02-18 18:14, Graeme Geldenhuys via Lazarus wrote: >> On 2018-02-18 18:10, Florian Klämpfl via Lazarus wrote: >>> What makes you think so? >> >> Michael van Canneyt. > > > And quoting the official FPC documentation from the

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Graeme Geldenhuys via Lazarus
On 2018-02-18 18:06, Graeme Geldenhuys via Lazarus wrote: 1) Not everybody owns a copy of Delphi to compare. Since when is it a good idea to have a Open Source project rely on a Commercial product. By that I also mean forcing people to own a copy of Windows and a copy of Delphi just to see

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Florian Klämpfl via Lazarus
Am 18.02.2018 um 19:06 schrieb Graeme Geldenhuys via Lazarus: > > 2) FPC seems to target Delphi 7 compatibility - What makes you think so? -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Ondrej Pokorny via Lazarus
On 18.02.2018 19:08, Graeme Geldenhuys via Lazarus wrote: On 2018-02-18 10:44, Giuliano Colla via Lazarus wrote: To achieve the Delphi behavior in Lazarus I should code: MyLabel.Color := clRed; Application:ProcessMessages; MyLabel.Color := clGreen; If that's true No, it is not true.

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Graeme Geldenhuys via Lazarus
On 2018-02-18 10:44, Giuliano Colla via Lazarus wrote: To achieve the Delphi behavior in Lazarus I should code: MyLabel.Color := clRed; Application:ProcessMessages; MyLabel.Color := clGreen; If that's true, then the above is not Delphi compatible, and thus LCL is back to square one, of

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Graeme Geldenhuys via Lazarus
On 2018-02-18 10:09, Ondrej Pokorny via Lazarus wrote: Yes, it does. It is Delphi. 1) Not everybody owns a copy of Delphi to compare. Since when is it a good idea to have a Open Source project rely on a Commercial product. 2) FPC seems to target Delphi 7 compatibility - but considering how

Re: [Lazarus] Compilation aborted!

2018-02-18 Thread Donald Ziesig via Lazarus
On 02/18/2018 04:02 AM, Mattias Gaertner via Lazarus wrote: On Sat, 17 Feb 2018 22:35:17 -0500 Donald Ziesig via Lazarus wrote: [...] Isolated it to FPC.  Ran fpc from terminal without IDE.  Got same error (AV).  It is getting late here. I will look at this in

Re: [Lazarus] OI / App crash - components with published interfaces

2018-02-18 Thread Andreas Frieß via Lazarus
THX for the information Martin, i have changed the line and it looks good. Very good. This code is a prototype for me to inhibt unwanted Ref Counter changes. Am 18.02.2018 um 16:32 schrieb Martin Schreiber via Lazarus: pointer(FObjectHasInterface):= nil; THX Andreas --

Re: [Lazarus] ghost selector in form editor

2018-02-18 Thread Bart via Lazarus
On Sun, Feb 18, 2018 at 1:17 AM, Juha Manninen via Lazarus wrote: > There is an oldish report: > https://bugs.freepascal.org/view.php?id=23741 Or even older: https://bugs.freepascal.org/view.php?id=13062 (But that was on WinMe) Bart --

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Giuliano Colla via Lazarus
Il 18/02/2018 11:54, Ondrej Pokorny ha scritto: What events are generated? onFormPaint Giuliano -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] OI / App crash - components with published interfaces

2018-02-18 Thread Martin Schreiber via Lazarus
On Sunday 18 February 2018 13:16:36 Andreas Friec39f via Lazarus wrote: > Now i have inserted code in the TIntfComp to remove the link to the > interface > > > > destructor TIntfComp.Destroy; > begin >   FObjectHasInterface := nil;  // <<-- Crahe here now >   inherited

Re: [Lazarus] ghost selector in form editor

2018-02-18 Thread Luca Olivetti via Lazarus
El 18/02/18 a les 10:31, Luca Olivetti via Lazarus ha escrit: The plot thickens: while the ghost selector of a label diverges from the real one, the ghost selector of other controls moves in sync: https://www.youtube.com/watch?v=wTAKaYIM8_U Meanwhile, I compiled the ide with qt5 and it

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread José Mejuto via Lazarus
El 18/02/2018 a las 0:52, Graeme Geldenhuys via Lazarus escribió: On 2018-02-17 16:59, Gabor Boros via Lazarus wrote: to answer your question I'm hoping that effort translates well to LCL-fpGUI too. Hello, I was talking about LCL-fpGUI with reation to other LCL based platforms. As I do

Re: [Lazarus] OI / App crash - components with published interfaces

2018-02-18 Thread Andreas Frieß via Lazarus
Now i have inserted code in the TIntfComp to remove the link to the interface destructor TIntfComp.Destroy; begin   FObjectHasInterface := nil;  // <<-- Crahe here now   inherited Destroy; end; And now i it crash explicitly  at the line wher i try to

Re: [Lazarus] WARNING: TResourceCacheItem.IncreaseRefCount 1000 TFontHandleCache

2018-02-18 Thread Michael W. Vogel via Lazarus
Am 16.02.2018 um 22:16 schrieb Vojtěch Čihák via Lazarus: Hi, don't you know what does this output mean(in Console In/Output, not in Messages): WARNING: TResourceCacheItem.IncreaseRefCount 1000 TFontHandleCache ? Thanks, V. Please create a minimal example and report to mantis

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Ondrej Pokorny via Lazarus
On 18.02.2018 11:44, Giuliano Colla wrote: Il 18/02/2018 11:09, Ondrej Pokorny via Lazarus ha scritto: On 18.02.2018 0:59, Graeme Geldenhuys via Lazarus wrote: Now comes the BIG question... Does LCL have a reference implementation? Yes, it does. It is Delphi. That's not true, as far as

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Giuliano Colla via Lazarus
Il 18/02/2018 11:09, Ondrej Pokorny via Lazarus ha scritto: On 18.02.2018 0:59, Graeme Geldenhuys via Lazarus wrote: Now comes the BIG question... Does LCL have a reference implementation? Yes, it does. It is Delphi. That's not true, as far as events triggering is concerned. Delphi

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Giuliano Colla via Lazarus
Il 18/02/2018 00:59, Graeme Geldenhuys via Lazarus ha scritto: Now comes the BIG question... Does LCL have a reference implementation? Which LCL widgetset gives the correct behaviour and feature list, that the other LCL widgetsets need to follow or mimic? IMHO that's impossible to achieve.

Re: [Lazarus] Form events firing order and count

2018-02-18 Thread Ondrej Pokorny via Lazarus
On 18.02.2018 0:59, Graeme Geldenhuys via Lazarus wrote: Now comes the BIG question... Does LCL have a reference implementation? Yes, it does. It is Delphi. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] ghost selector in form editor

2018-02-18 Thread Luca Olivetti via Lazarus
El 18/02/18 a les 10:24, Luca Olivetti via Lazarus ha escrit: El 18/02/18 a les 01:17, Juha Manninen via Lazarus ha escrit: On Thu, Feb 15, 2018 at 10:10 AM, Luca Olivetti via Lazarus wrote: I've been seeing this from time immemorial, probably since 0.something,

Re: [Lazarus] ghost selector in form editor

2018-02-18 Thread Luca Olivetti via Lazarus
El 18/02/18 a les 01:17, Juha Manninen via Lazarus ha escrit: On Thu, Feb 15, 2018 at 10:10 AM, Luca Olivetti via Lazarus wrote: I've been seeing this from time immemorial, probably since 0.something, both under windows and linux/gtk/qt (though under linux is

Re: [Lazarus] ghost selector in form editor

2018-02-18 Thread Luca Olivetti via Lazarus
El 18/02/18 a les 02:41, Vojtěch Čihák via Lazarus ha escrit: Hi, I can simulate this on Qt in several ways: 1) select two components on different tabs of page control, one of them will be ghost That I think it's a different issue (and, IIRC, I saw that too). In this case it's just a plain

Re: [Lazarus] Compilation aborted!

2018-02-18 Thread Mattias Gaertner via Lazarus
On Sat, 17 Feb 2018 22:35:17 -0500 Donald Ziesig via Lazarus wrote: >[...] > Isolated it to FPC.  Ran fpc from terminal without IDE.  Got same error > (AV).  It is getting late here. I will look at this in the morning. Maybe you got messed up ppu files, or you