Event after resizing?

Giganews Newsgroups
Subject:Event after resizing?
Posted by: Paul Doland (nospam@nowhere.com)
Date:Fri, 29 Aug 2008

For a form, there is an OnResize event that is fired when a form is
resized.  But it gets fired many times as a user does a resizing
operation.  I'd like to know when the operation is complete.

The first thing I figured was to check the OnMouseUp event, figuring
that if I get a resize, then a mouse up, that should do it.  But, the
mouseup event doesn't fire.  Don't know why that is actually.  But it
doesn't.  I set a breakpoint in the forms mouse up event, resize the
window, and no breakpoint.

Now, I realize that even if this did work, it wouldn't work for
keyboard resizing.  But, that is virtually never done, so, I'm not
worried about that.

So, is there a good way to do this?

Replies