AFTER form resize event?

R

roger

the form_resize event fires on mousedown?

Shouldn't that event fire on mouseUP? AFTER the the user resizes the form
instead of before?

Anyway the point is, that I need an event that fires After form resize, so
I can resize my controls accordingly,

what event am I looking for?
 
R

roger

OK, solved this one myself everyone.

used an OnTimer event that fires once a second.
the OnResize event changes a variable, (the size)
and the OnTimer checks to se if the varaible is changed, and then goes off.

it means there's a delay in there of upto .9 seconds, but if anyone has a
better idea...
 
P

pddxxx

It might be that you have the "show window contents while dragging"
performance option checked. When you have this option checked the
resize event will occur with any slight movement of the mouse while
dragging.

Hope this helps

Peter De Baets
http://www.peterssoftware.com
 
R

roger

I do.

That does help, and actually that makes perfect sense.

But isn't that settting "on" by default in XP (and certainly in Vista)
(anyway glad I found it a workaround on that now)
thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top