07-10-2023, 12:06 PM
Hi Alexandre,
I have an odd behavior with grid controls created at runtime.
In the attached example, I have two grids.
Grid1 is filled in the OnCreate of the Form, Grid2 is filled when the corresponding button is clicked.
When changing the controls in Grid1, clicking the Check Button shows the actual state(s) / value(s) of the Grid1 controls in Memo1.
But after changing and checking the controls in Grid2, Memo2 still shows the original state(s) / value(s) of the controls Grid2.
My questions:
1. Is this by design (I hope not)?
2. Am I doing something wrong?
3. Is this a bug and can it be fixed?
This not only applies to an IWGrid but also to an IWDBGrid.
I’m using Delphi 11.3 with IntraWeb 15.3.10.
Hope you can help me!
Cheers, Paul
I have an odd behavior with grid controls created at runtime.
In the attached example, I have two grids.
Grid1 is filled in the OnCreate of the Form, Grid2 is filled when the corresponding button is clicked.
When changing the controls in Grid1, clicking the Check Button shows the actual state(s) / value(s) of the Grid1 controls in Memo1.
But after changing and checking the controls in Grid2, Memo2 still shows the original state(s) / value(s) of the controls Grid2.
My questions:
1. Is this by design (I hope not)?
2. Am I doing something wrong?
3. Is this a bug and can it be fixed?
This not only applies to an IWGrid but also to an IWDBGrid.
I’m using Delphi 11.3 with IntraWeb 15.3.10.
Hope you can help me!
Cheers, Paul