03-21-2023, 06:02 AM
(This post was last modified: 03-21-2023, 06:28 AM by Alexandre Machado.)
Hi Valmeras,
This is what I did:
1) I created a new blank application, from scratch using the IntraWeb application wizard
2) On the Form's OnAsyncResize event I just added a comment (to avoid that the IDE removes it when I save the project). Then I put a breakpoint on the start of the method.
3) Saved, built and ran the project.
When I start a new session, a page opens and the execution stops in my breakpoint. Here's what I get, inspecting the fields received in the event:
WebApplication.FormWidth is set accordingly:
WebApplication.FormHeight too:
Then I opened the browser console and checked the sizes of the window, using 2 different isolated libraries, IW own JavaScript library and also jQuery which is pretty much standard:
As you can see, all numbers match. Everything looks correct to me.
If you are getting something different than this, I suggest that you create a simple test case showing the problem and attach it to your post.
Cheers,
This is what I did:
1) I created a new blank application, from scratch using the IntraWeb application wizard
2) On the Form's OnAsyncResize event I just added a comment (to avoid that the IDE removes it when I save the project). Then I put a breakpoint on the start of the method.
3) Saved, built and ran the project.
When I start a new session, a page opens and the execution stops in my breakpoint. Here's what I get, inspecting the fields received in the event:
WebApplication.FormWidth is set accordingly:
WebApplication.FormHeight too:
Then I opened the browser console and checked the sizes of the window, using 2 different isolated libraries, IW own JavaScript library and also jQuery which is pretty much standard:
As you can see, all numbers match. Everything looks correct to me.
If you are getting something different than this, I suggest that you create a simple test case showing the problem and attach it to your post.
Cheers,

