Hello FPC,
Monday, October 11, 2010, 9:07:44 AM, you wrote:
Attached is the example. One form that load a menu which opens a new
form which display a table in a grid. You will need to change the
password setup, and maybe database (I'm using aliases instead full
path), and of course the sql
Hello FPC,
Friday, October 8, 2010, 8:35:44 AM, you wrote:
Aha. In MSEgui application.createform()/createdatamodule() must be called in
order to allow component linking with already loaded modules, t*form.create()
is not enough. I don't know how this works in Lazarus.
MG In Lazarus both use
Hello FPC,
Friday, October 8, 2010, 1:41:39 PM, you wrote:
Creation order
--
1) Create main form
MS application.createform() or t*form.create()
2) Create data module
MS application.createdatamodule();
3) Wait in main form for user input
4) Create second form
MS
Zitat von José Mejuto joshy...@gmail.com:
Hello FPC,
Friday, October 8, 2010, 1:41:39 PM, you wrote:
Creation order
--
1) Create main form
MS application.createform() or t*form.create()
2) Create data module
MS application.createdatamodule();
3) Wait in main form for user
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
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,
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
Hello FPC,
Wednesday, October 6, 2010, 8:37:44 AM, you wrote:
Yes, but it is not set, because BeginGlobalLoading is not called at
[...]
MS Avoid circular component references in the forms and adjust the creation
order
MS that the referencing forms are created later or use
[...]
MS Lazarus:
MS
Hello Martin,
Tuesday, October 5, 2010, 9:56:41 AM, you wrote:
I find a problem that I'm unable to resolve, with my limited skills.
In TReader when a property is a TClass it is being added to be
resolved after all components are loaded, but the Loaded call is
performed before this fixup, so
On Tue, 5 Oct 2010, José Mejuto wrote:
Hello Martin,
Tuesday, October 5, 2010, 9:56:41 AM, you wrote:
I find a problem that I'm unable to resolve, with my limited skills.
In TReader when a property is a TClass it is being added to be
resolved after all components are loaded, but the Loaded
Hello FPC,
Tuesday, October 5, 2010, 4:08:08 PM, you wrote:
As you can see the Loaded event is called (marked with some //-)
before calling GlobalFixupReferences,
MS Not if GlobalLoaded is set.
Yes, but it is not set, because BeginGlobalLoading is not called at
all from any point in the
11 matches
Mail list logo