Re: fix for blinking data-aware controls?
- From: "Bruce Roberts" <dontsendtober@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jan 2006 10:43:49 -0500
"swansnow" <schultz@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1138286556.943719.88730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I have a form with data-aware controls, connected to a datasource. If
> you click on a button, you can print a report. When the report is
> generated, it scrolls through the dataset, which is connected to the
> data-aware controls, so each record flickers on the screen as the
> dataset is scrolled. How do I disable this behavior (without using a
> separate query...)?
aDataSet.DisableControls;
try
// do the work
finally
aDataSet.EnableControls;
end;
You can use a bookmark, if necessary, to mark and return to the initial
record. One caution, make sure that you don't have code in the controls'
events that your reporting code (unknowingly) depends on.
.
- Follow-Ups:
- Re: fix for blinking data-aware controls?
- From: swansnow
- Re: fix for blinking data-aware controls?
- References:
- fix for blinking data-aware controls?
- From: swansnow
- fix for blinking data-aware controls?
- Prev by Date: Re: Folding Editor
- Next by Date: Re: Getting a Ttab*** to show on start-up
- Previous by thread: fix for blinking data-aware controls?
- Next by thread: Re: fix for blinking data-aware controls?
- Index(es):