Subject | IB_Grid: Reduce flickering |
---|---|
Author | Daniel Albuschat |
Post date | 2006-06-21T07:55:59Z |
Hello there,
I have the following, simple problem:
I don't want the IB_Grid to flicker when I Open and Close the assigned IB_Query.
I'd like it to redraw after the call to IB_Query.Open only.
Currently it first redraws after the query was closed and additionally changes
the scrollbars. Then, after the query is opened again, it redraws
itself the second
time and adjusts the scrollbars.
There is, however, no visible change (to the user) in my situation
that could justify
the flicker.
I tried introducing a DoNotRepaint variable that skips the inherited
Paint call in the
overriden Paint method. Then I tried the same for DrawCell, but it
didn't help either.
Regards,
Daniel Albuschat
--
eat(this); // delicious suicide
I have the following, simple problem:
I don't want the IB_Grid to flicker when I Open and Close the assigned IB_Query.
I'd like it to redraw after the call to IB_Query.Open only.
Currently it first redraws after the query was closed and additionally changes
the scrollbars. Then, after the query is opened again, it redraws
itself the second
time and adjusts the scrollbars.
There is, however, no visible change (to the user) in my situation
that could justify
the flicker.
I tried introducing a DoNotRepaint variable that skips the inherited
Paint call in the
overriden Paint method. Then I tried the same for DrawCell, but it
didn't help either.
Regards,
Daniel Albuschat
--
eat(this); // delicious suicide