Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-07

Any ideas......?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Shane Miller

In my latest "Any Ideas" column, I'd like to enter this:

In Lazarus when you stretch the form, a resize occurs in TControls and therefore a DRAW or PAINT event occurs. If you stretch this form ALOT, then the syste3m is overloaded with these messages.

How can we determine when they are DONE resizing and then, and only then, call the draw? I like the method of showing a fake square until you let the mouse button up, but how woulds we go about that?

Any ideas on ways to reduce the draw signals?

Shane

Reply by email

Peter Vreman
to Shane Miller
Show quoted text 7 lines
In my latest "Any Ideas" column, I'd like to enter this: In Lazarus when you stretch the form, a resize occurs in TControls and therefore a DRAW or PAINT event occurs. If you stretch this form ALOT, then the syste3m is overloaded with these messages. How can we determine when they are DONE resizing and then, and only then, call the draw? I like the method of showing a fake square until you let the mouse button up, but how woulds we go about that? Any ideas on ways to reduce the draw signals?

There is a draw signal when resizing? It redraws only when the window is moved after a resize, this occurres under win32,linux.

Peter

Reply by email