Re: [fpc-devel] LocalReferenceFixup

2010-10-07 Thread Martin Schreiber
On Wednesday, 6. October 2010 13.49:59 José Mejuto wrote: Hello FPC, I think I can see your point, but from the end user point of view this is not a possibility. How to tell to the user, Remeber you must call beginglobal... and notifyglobal... and finally endglobal... when you create forms

[fpc-devel] TDOMDocument.GetTextContent implementation seems wrong

2010-10-07 Thread Graeme Geldenhuys
Hi, The current hierarchy in the dom unit is as follows TDomNode | TDOMNode_WithChildren | TDOMDocument Now the GetTextContent() implementation for TDOMNode_WithChildren runs recursively through all child nodes collecting data. ...but the GetTextContent()

Re: [fpc-devel] TDOMDocument.GetTextContent implementation seems wrong

2010-10-07 Thread Sergei Gorelkin
Graeme Geldenhuys wrote: Hi, The current hierarchy in the dom unit is as follows TDomNode | TDOMNode_WithChildren | TDOMDocument Now the GetTextContent() implementation for TDOMNode_WithChildren runs recursively through all child nodes collecting data. ...but the

Re: [fpc-devel] TDOMDocument.GetTextContent implementation seems wrong

2010-10-07 Thread Graeme Geldenhuys
On 7 October 2010 13:35, Sergei Gorelkin wrote: Compliance, see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#Node3-textContent specifies that textContent property should be null for Document, Notation and DocumentType nodes. OK, thanks for the information Sergei. --

Re[2]: [fpc-devel] LocalReferenceFixup

2010-10-07 Thread José Mejuto
Hello FPC, Thursday, October 7, 2010, 8:27:23 AM, you wrote: MS Maybe you mix up component creation order and form/datamodule creation order? MS I wrote about form/datamodule creation order. The datamodule is created just in program load, before any dependent component is created, so my

Re: [fpc-devel] LocalReferenceFixup

2010-10-07 Thread Martin Schreiber
On Thursday, 7. October 2010 17.25:28 José Mejuto wrote: Hello FPC, Thursday, October 7, 2010, 8:27:23 AM, you wrote: MS Maybe you mix up component creation order and form/datamodule creation order? MS I wrote about form/datamodule creation order. The datamodule is created just in program

Re[2]: [fpc-devel] LocalReferenceFixup

2010-10-07 Thread José Mejuto
Hello FPC, Thursday, October 7, 2010, 8:30:06 PM, you wrote: MS Aha. In MSEgui application.createform()/createdatamodule() must be called in MS order to allow component linking with already loaded modules, t*form.create() MS is not enough. I don't know how this works in Lazarus. Thank you,

Re: [fpc-devel] LocalReferenceFixup

2010-10-07 Thread Martin Schreiber
On Thursday, 7. October 2010 20.46:54 José Mejuto wrote: Thank you, I'll try to gather more information from Lazarus list, but if that's the case it completly defeats the advantages of a datamodule and/or the presence of a published Active property in the SQLQuery (as it is only valid if it

Re[2]: [fpc-devel] LocalReferenceFixup

2010-10-07 Thread José Mejuto
Hello FPC, Thursday, October 7, 2010, 9:21:18 PM, you wrote: Thank you, I'll try to gather more information from Lazarus list, but if that's the case it completly defeats the advantages of a datamodule and/or the presence of a published Active property in the SQLQuery (as it is only valid if