Subject | Remember the properties of a Query |
---|---|
Author | pepmallorca |
Post date | 2002-04-07T20:30Z |
Hello:
I have a component IB_Query with properties by default, example:
a field 'x' with Width=100, an alignment to the right...
I view this IB_Query in 2 differents forms.
In one of this, before show in the grid, I apply changes like:
IB_Query.fieldbyname('x').DisplayWidth:=50;
And when I close the form I write:
IB_Query.close;
IB_Query.active:=false;
(destroy doesn't work)
But, if I go to the second form, it remember the last changes applied
(not the original properties).
Is normal?
Is there any way to close and force to forget the last changes (and
remember the original values)?
Regards,
José,
I have a component IB_Query with properties by default, example:
a field 'x' with Width=100, an alignment to the right...
I view this IB_Query in 2 differents forms.
In one of this, before show in the grid, I apply changes like:
IB_Query.fieldbyname('x').DisplayWidth:=50;
And when I close the form I write:
IB_Query.close;
IB_Query.active:=false;
(destroy doesn't work)
But, if I go to the second form, it remember the last changes applied
(not the original properties).
Is normal?
Is there any way to close and force to forget the last changes (and
remember the original values)?
Regards,
José,