Control.SizeChanged event

  • Thread starter Thread starter Joey Callisay
  • Start date Start date
J

Joey Callisay

Here's a problem:

I need to have the previous size of a control. The OnSizeChanged event
triggers after a new size is supplied to the control, and on this
eventhandler you'll have no idea of its previous size since it was already
changed. Docking I believe also raises this event and I use such
functionality. I need to be able to store the previous size of the control
before a change of size is encountered. Please help...

Thanx
 
Maybe you could try storing the size every time the OnSizeChanged triggers.
The second time you could use the size from the first time etc.
 
Back
Top