onresize

Call onresize from ASP.NET content page

I have a JavaScript method that I need to run on one of my pages, in particular, the onresize event. However, I don't see how I can set that event from my content page. I wish I could just put it on my master page, but I don't have the need for the method to be called on all pages that use that master page. Any help would be appreci...

Will a Delphi form always fire OnResize when it's shown?

If I create a new Delphi form, hook its OnResize event, and run the app, OnResize is fired before the window is shown. What I don't know is whether this will always happen, for any window. (For anyone familiar with the Windows API, I've traced it to the ShowWindow call in TCustomForm.ShowingChanged (Forms.pas line 5503 in Delphi 2007), ...

Under what conditions will a TForm fire OnResize on show?

As an extension of this question: TForm.OnResize is sometimes fired before a form is first shown, but not always. For example, if BorderStyle is either bsDialog or bsNone, then OnResize will not fire. For all other BorderStyle values (and with all other properties at their defaults), OnResize does fire. Are there other things that affe...

Why is the resize event constantly firing when I assign it a handler with a timeout?

I assigned a timeout to my window.resize handler so that I wouldn't call my sizable amount resize code every time the resize event fires. My code looks like this: <script> function init() { var hasTimedOut = false; var resizeHandler = function() { // do stuff return false; }; window.onresize = function() { if (hasTi...

resize the jqgrid width while browser resizing.

Hi i have a problem in my jqgrid when i am clicking the pane the grid size is not resizing .how to resize it ?. ...

Yahoo Resizing Hover Events

Does anyone know if it's possible subscribe to an event (possible a mouseOver) while using Yahoo!'s resizing library? I need to disable some other listeners when a user hovers over the handles of my object, however, I don't see anything in the documentation to do so. Thanks. ...

Body onresize event does not fire in IE7 when page is part of a frameset and resized vertically

I have a simple frameset with two frames vertically, i.e. two rows: First row contains a fixed header. Second row contains a fixed toolbar at the top and a resizable are at the bottom. Due to rendering differences between browsers, I cannot just enable scrolling for the "content" frame, as this would mean that the entire frame, includ...

Javascript onresize event

If I have this window.onresize = function() { alert('resized!!'); }; My function gets fired multiple times throughout the resize, but I want to capture the completion of the resize. This is in IE. Any ideas? There are various ideas out there, but not has worked for me so far (example IE's supposed window.onresizeend event.) ...

How to implement the OnResizeEnd Event for TFrame ?

Hello, in the middle of the application is a frame. After resizing i need to rearrange controls on this panel (doing this in the resizing event is too busy). Its more useful if this can be done once after all the resizing. But how? Thank you for your help ...

iFrame onresize in safari

The onresize function doesn't seem to run in Safari (3.03 beta windows edition) when an iFrame is resized by its parent. Is this a known bug, and is there any way to get around it besides a timer-based check? The iframe and its parent are in the same domain, so calling the resize function from the parent would be doable except that the ...

Form.OnResize triggered during InitializeComponent()

I have the same UI code running on my XP English machine and on XP Japanese machine. For some reason - the behavior is different between those two machines: On the Japanese machine the OnResize event is getting triggered during the InitializeComponent call (I think that from ResumeLayout function). On the English machine it doesn't. I ...

IE7 resize problems

i have a page that contains content which need to be dynamically changed according to the current page size. in order to do that, during the onload event, i attach some JS function to the "onresize" window event. it looks like that: window.onresize = function() { //do something here... }; This is working fine in any browse, except I...

Auto resize silverlight 3 appilcations

I've been trying to get a silverlight 3 application to automatically resize when rows are added to datagrids. I've tried this example but I just get a System.ExecutionEngineException with a null inner exeception. I think this is aimed at silverlight 2 only. Can anyone tell me how to do this in silverlight 3? Any help on this would be m...

Delphi - TPaintBox - Resize

Hello everybody, I'm having problems resizing a TPaintBox and drawing on it: On my Form (named FMain) I dropped a TPaintBox (named DisplayImage), which I am trying to resize as the Form is resized. To do that I wrote an OnResize() method for FMain (I confirmed that it's being called correctly) in which I try to resize the DisplayImage...

[Delphi7] onResize event with class object

Here's is my code: type TNav = class(TPanel) private procedure CMMouseEnter(var AMsg: TMessage); message CM_MOUSEENTER; procedure CMMouseLeave(var AMsg: TMessage); message CM_MOUSELEAVE; public end; type TForm1 = class(TForm) ... procedure FormCreate(Sender: TObject); private public end; procedure TForm1.FormCreate(Sender: TOb...

trigger onresize in cross browser compatible manner

I would like to trigger the onresize event from my C# code behind. I think this can be done with Page.clientScript.RegisterScriptBlock(this.getType(), "id", "javascript code"); I have tried element.onresize() but it doesnt seem to work in firefox. What is the correct way to trigger an onresize event similar to the following jQuery? ...

Flash Player goes black when resizing in Chrome (Mac)

Hello, I've noticed what appears to be a bug with Google Chrome and Flash when resizing on a Mac. I have an SWF file embedded on my page and it will resize when the browser window resizes. Crazy things happen in Google Chrome when I resize the window: the Flash screen goes completely black and will flicker like a bad TV reception. You c...