Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Browser dimensions OnAsyncResize (Priority support)
#5
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,
Reply


Messages In This Thread
RE: Browser dimensions OnAsyncResize (Priority support) - by Alexandre Machado - 03-21-2023, 06:02 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)