Board index » delphi » How to copy an object

How to copy an object

Hallo all,

I have a problem with delphi 2.01.

How do I copy a instanciation (sp?) of an object.
The reason I ask this is the following :

First the user selects a subset from a database.
this is shown in a grid.
Then he can select to print it, with a general print routine in which I pass
the dataset.

The problem is now that the printing can be followed in the grid. Because they
are using the same dataset, skipping for the print, leads to skipping in the
grid.

How can I avoid this.

R.E. den Braasem (aka The Graphical Gnome)
(r...@ktibv.nl)

Senior Software Engineer

 

Re:How to copy an object


The Graphical Gnome <r...@ktibv.nl> wrote in article
<E15yFo....@ktibv.nl>...

Quote
> Hallo all,

> The problem is now that the printing can be followed in the grid. Because
they
> are using the same dataset, skipping for the print, leads to skipping in
the
> grid.

> How can I avoid this.

Use DisableControls from the TTable

Ryan VanIderstine

Other Threads