CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Browser size

by sesam » 15 Aug 2019 15:35

Hi,

how can I get the real Browser size?
Don't tell me via WebApplication.FormHeight / FormWidth. That's the working area and
can be much bigger than the actual size of the Browser.

Thanks,
Andreas
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19

by Alexander Bulei » 20 Aug 2019 09:09

Hi sesam,
It's not related to our components.

You can always use the browserParams for send the window width & height to the app.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by sesam » 20 Aug 2019 15:05

Hi,
I would really appreciate a small example.

Thanks,
Andreas
sesam
 
Posts: 153
Joined: 09 Apr 2013 16:19

by Alexander Bulei » 27 Aug 2019 09:35

Hi sesam,

Just create the browser param on your event and use the js code below for BrowserScript:

- $(window).width() for width
- $(window).height() for height

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to General

cron

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.