Re: Why onResize fires 3 times when I re-size the window?



On Wed, 17 May 2006 19:56:42 -0400, =?ISO-8859-1?Q?G=E9rard_Talbot?=
<newsblahgroup@xxxxxxxxxxx> wrote:

Jim Ley wrote :
On 17 May 2006 15:01:07 -0700, "df" <dferer@xxxxxxx> wrote:

Why onResize fires 3 times when I re-size the window?

because it fires as you're resizing it, and not just at the end of the
resize, why would you expect it to only fire at the end?

Jim.


IE 6+ will fire the resize event continuously. Opera 8+ also.

On windows both of these depend on the OS setting show window contents
whilst dragging.

Jim.
.



Relevant Pages

  • Re: Update to my old 3 column layout template
    ... It also prevents the columns from being resize if the ... The main issue is that some browsers fire multiple resize events on one ... IE and Opera, if I not mistaken, always fire twice for one resize. ... place of setting them in the onload function. ...
    (alt.html)
  • Re: class application events
    ... But the Resize event will only fire when a workbook ... In order to trigger the resize event run the testobject routine and then ...
    (microsoft.public.office.developer.vba)
  • Re: custom control size
    ... and then call any delegates which have been wired to the SizeChanged event. ... But OnResize also calls delegates that are wired to the Resize. ... You can override the OnSizeChanged ... The framework won't ever fire 'Resize' only 'SizeChanged' but SizeChanged ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: resize controls at runtime
    ... Calling Move is no different from setting the four properties. ... event to fire only once, rather than once for each property change. ... created a class using resize, drag and drop for the splitter bar. ... RESIZE method and resize and position the individual controls you want ...
    (microsoft.public.fox.programmer.exchange)
  • Re: custom control size
    ... But OnResize also calls delegates that are wired to the Resize. ... You can override the OnSizeChanged ... The framework won't ever fire 'Resize' only 'SizeChanged' but SizeChanged ... as only the base class can fire the actual event. ...
    (microsoft.public.dotnet.framework.windowsforms)