[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does the GridView fire the Draw Event continuously ?


Le 19/11/2024 à 20:13, Bruce Steers a écrit :
By setting .Text it causes a refresh so it recursively loops.

You must not set any properties that would cause a refresh of the control in the draw event.

Respects
BruceS


Of course, I didn't read carefully...

This is what I call "something weird"!

@Claus: what do you expect, by modifying the control during its redraw event, other than an infinite recursion?

--
Benoît Minisini.


Follow-Ups:
Re: Why does the GridView fire the Draw Event continuously ?Claus Dietrich <claus.dietrich@xxxxxxxxxx>
References:
Why does the GridView fire the Draw Event continuously ?Claus Dietrich <claus.dietrich@xxxxxxxxxx>
Re: Why does the GridView fire the Draw Event continuously ?Bruce Steers <bsteers4@xxxxxxxxx>