[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does the GridView fire the Draw Event continuously ?
[Thread Prev] | [Thread Next]
- Subject: Re: Why does the GridView fire the Draw Event continuously ?
- From: Claus Dietrich <claus.dietrich@xxxxxxxxxx>
- Date: Tue, 19 Nov 2024 21:37:12 +0100
- To: Gambas MailingList <user@xxxxxxxxxxxxxxxxxxxxxx>
Am 19.11.24 um 20:31 schrieb Benoît Minisini:
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 BruceSOf course, I didn't read carefully...This is what I call "something weird"!
It is obvious that is has to do with the filling of a cell. But why is this something weird? Why does this cause infinit refreshes? If I can't do this in the event loop, then why was it provided? What for?
A retrigger of the draw event also doesn't take place at Draw Events of other controls and your first intuitiv reaction was like mine.
Best regards Claus
Re: Why does the GridView fire the Draw Event continuously ? | Bruce Steers <bsteers4@xxxxxxxxx> |
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> |
Re: Why does the GridView fire the Draw Event continuously ? | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |