Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / September 2004

Tip: Looking for answers? Try searching our database.

Control.SizeChanged event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joey Callisay - 16 Sep 2004 10:11 GMT
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
Sijin Joseph - 16 Sep 2004 12:22 GMT
Try the Control.Layout event

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

> Here's a problem:
>
[quoted text clipped - 6 lines]
>
> Thanx
Joey Callisay - 16 Sep 2004 12:26 GMT
i've tried it, nothing there

> Try the Control.Layout event
>
[quoted text clipped - 12 lines]
> >
> > Thanx
Christian Wikander - 16 Sep 2004 19:19 GMT
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.

> i've tried it, nothing there
>
[quoted text clipped - 16 lines]
> > >
> > > Thanx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.