Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Function to return Layout width (NOT window width)

Featured Replies

Is there a function that I can use that will return the width of a specified Layout and NOT the current window width?  I'm running into layout sizing issues and want to create a way to resize a window but only if the destination layout is larger than the layout that I am coming from.  I'd like to avoid having to Resize the window to get the Layout width.

Hey James,

Create an invisible box or line on your layout, stretch horizontally the width of your layout, then name the object "width_box". Mae sure it is butted up to left edge and the right anchor  is not checked (not to stretch with window change)

Now you can use:

GetLayoutObjectAttribute ( "width_box" ; "width" )

to grab the actual width of the layout.

Does that work? If not, more details.

Edited by dwdata

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.